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

Method test_bind_ok

Lib/idlelib/idle_test/test_config_key.py:94–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 self.dialog.get_modifiers.result = []
93
94 def test_bind_ok(self):
95 self.assertTrue(self.dialog.bind_ok('<Control-Shift-Key-a>'))
96 self.assertEqual(self.dialog.showerror.message, '')
97
98 def test_bind_not_ok(self):
99 self.assertFalse(self.dialog.bind_ok('<Control-Shift>'))

Callers

nothing calls this directly

Calls 3

assertTrueMethod · 0.80
bind_okMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected