(self)
| 351 | self.assertFalse(dialog.destroy.called) |
| 352 | |
| 353 | def test_click_cancel(self): |
| 354 | dialog = self.dialog |
| 355 | dialog.entry.insert(0, 'abc') |
| 356 | dialog.button_cancel.invoke() |
| 357 | self.assertEqual(dialog.result, None) |
| 358 | self.assertTrue(dialog.destroy.called) |
| 359 | |
| 360 | |
| 361 | class SectionnameGuiTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected