(self)
| 83 | del d.activate_config_changes, d.deactivate_current_config |
| 84 | |
| 85 | def test_click_cancel(self): |
| 86 | d = dialog |
| 87 | d.destroy = Func() |
| 88 | changes['main']['something'] = 1 |
| 89 | d.buttons['Cancel'].invoke() |
| 90 | self.assertEqual(changes['main'], {}) |
| 91 | self.assertEqual(d.destroy.called, 1) |
| 92 | del d.destroy |
| 93 | |
| 94 | def test_click_help(self): |
| 95 | dialog.note.select(dialog.keyspage) |
nothing calls this directly
no test coverage detected