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

Method test_ok_good

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

Source from the content-addressed store, hash-verified

62 self.assertEqual((dialog.result, dialog.destroyed), (None, False))
63
64 def test_ok_good(self):
65 dialog = self.Dummy_Query('good')
66 self.assertEqual(dialog.ok(), None)
67 self.assertEqual((dialog.result, dialog.destroyed), ('good', True))
68
69 def test_cancel(self):
70 dialog = self.Dummy_Query('does not matter')

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected