(self)
| 338 | self.dialog.destroy.reset_mock() |
| 339 | |
| 340 | def test_click_ok(self): |
| 341 | dialog = self.dialog |
| 342 | dialog.entry.insert(0, 'abc') |
| 343 | dialog.button_ok.invoke() |
| 344 | self.assertEqual(dialog.result, 'abc') |
| 345 | self.assertTrue(dialog.destroy.called) |
| 346 | |
| 347 | def test_click_blank(self): |
| 348 | dialog = self.dialog |
nothing calls this directly
no test coverage detected