(self)
| 447 | userextn.remove_section('ZzDummy') |
| 448 | |
| 449 | def test_get_extension_keys(self): |
| 450 | userextn.read_string(''' |
| 451 | [ZzDummy] |
| 452 | enable = True |
| 453 | ''') |
| 454 | self.assertEqual(idleConf.GetExtensionKeys('ZzDummy'), |
| 455 | {'<<z-in>>': ['<Control-Shift-KeyRelease-Insert>']}) |
| 456 | userextn.remove_section('ZzDummy') |
| 457 | # need option key test |
| 458 | ## key = ['<Option-Key-2>'] if sys.platform == 'darwin' else ['<Alt-Key-2>'] |
| 459 | ## eq(conf.GetExtensionKeys('ZoomHeight'), {'<<zoom-height>>': key}) |
nothing calls this directly
no test coverage detected