(self)
| 412 | sys.platform = current_platform |
| 413 | |
| 414 | def test_get_extensions(self): |
| 415 | userextn.read_string(''' |
| 416 | [ZzDummy] |
| 417 | enable = True |
| 418 | [DISABLE] |
| 419 | enable = False |
| 420 | ''') |
| 421 | eq = self.assertEqual |
| 422 | iGE = idleConf.GetExtensions |
| 423 | eq(iGE(shell_only=True), []) |
| 424 | eq(iGE(), ['ZzDummy']) |
| 425 | eq(iGE(editor_only=True), ['ZzDummy']) |
| 426 | eq(iGE(active_only=False), ['ZzDummy', 'DISABLE']) |
| 427 | eq(iGE(active_only=False, editor_only=True), ['ZzDummy', 'DISABLE']) |
| 428 | userextn.remove_section('ZzDummy') |
| 429 | userextn.remove_section('DISABLE') |
| 430 | |
| 431 | |
| 432 | def test_remove_key_bind_names(self): |
nothing calls this directly
no test coverage detected