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

Method test_configure_tabs

Lib/test/test_ttk/test_widgets.py:1176–1182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1174 self.assertEqual(self.nb.tab(self.child1, 'text'), 'abc')
1175
1176 def test_configure_tabs(self):
1177 self.assertEqual(len(self.nb.tabs()), 2)
1178
1179 self.nb.forget(self.child1)
1180 self.nb.forget(self.child2)
1181
1182 self.assertEqual(self.nb.tabs(), ())
1183
1184 def test_traversal(self):
1185 self.nb.pack()

Callers

nothing calls this directly

Calls 3

tabsMethod · 0.80
assertEqualMethod · 0.45
forgetMethod · 0.45

Tested by

no test coverage detected