MCPcopy Index your code
hub / github.com/python/cpython / test_path_ok_web

Method test_path_ok_web

Lib/idlelib/idle_test/test_query.py:224–231  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222 self.assertIn('not exist', dialog.path_error['text'])
223
224 def test_path_ok_web(self):
225 dialog = self.Dummy_HelpSource('')
226 Equal = self.assertEqual
227 for url in 'www.py.org', 'http://py.org':
228 with self.subTest():
229 dialog.path.set(url)
230 self.assertEqual(dialog.path_ok(), url)
231 self.assertEqual(dialog.path_error['text'], '')
232
233 def test_path_ok_file(self):
234 dialog = self.Dummy_HelpSource('')

Callers

nothing calls this directly

Calls 4

path_okMethod · 0.95
subTestMethod · 0.45
setMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected