(self)
| 47 | # A test that sets a non-blank modifier list should reset it to []. |
| 48 | |
| 49 | def test_ok_empty(self): |
| 50 | self.dialog.key_string.set(' ') |
| 51 | self.dialog.ok() |
| 52 | self.assertEqual(self.dialog.result, '') |
| 53 | self.assertEqual(self.dialog.showerror.message, 'No key specified.') |
| 54 | |
| 55 | def test_ok_good(self): |
| 56 | self.dialog.key_string.set('<Key-F11>') |
nothing calls this directly
no test coverage detected