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

Method test_settitle

Lib/idlelib/idle_test/test_browser.py:42–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.assertIsNotNone(browser.file_open)
41
42 def test_settitle(self):
43 mb = self.mb
44 self.assertIn(os.path.basename(__file__), mb.top.title())
45 self.assertEqual(mb.top.iconname(), 'Module Browser')
46
47 def test_rootnode(self):
48 mb = self.mb

Callers

nothing calls this directly

Calls 4

assertInMethod · 0.80
basenameMethod · 0.45
titleMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected