MCPcopy Create free account
hub / github.com/python/cpython / test_sizelist

Method test_sizelist

Lib/idlelib/idle_test/test_configdialog.py:194–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 self.assertIn(d.font_name.get(), font1.lower())
193
194 def test_sizelist(self):
195 # Click on number should select that number
196 d = self.page
197 d.sizelist.variable.set(40)
198 self.assertEqual(d.font_size.get(), '40')
199
200 def test_bold_toggle(self):
201 # Click on checkbutton should invert it.

Callers

nothing calls this directly

Calls 3

setMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected