(self)
| 506 | sys.platform = current_platform |
| 507 | |
| 508 | def test_get_keyset(self): |
| 509 | conf = self.mock_config() |
| 510 | |
| 511 | # Conflict with key set, should be disable to '' |
| 512 | conf.defaultCfg['extensions'].add_section('Foobar') |
| 513 | conf.defaultCfg['extensions'].add_section('Foobar_cfgBindings') |
| 514 | conf.defaultCfg['extensions'].set('Foobar', 'enable', 'True') |
| 515 | conf.defaultCfg['extensions'].set('Foobar_cfgBindings', 'newfoo', '<Key-F3>') |
| 516 | self.assertEqual(conf.GetKeySet('IDLE Modern Unix')['<<newfoo>>'], '') |
| 517 | |
| 518 | def test_is_core_binding(self): |
| 519 | # XXX: Should move out the core keys to config file or other place |
nothing calls this directly
no test coverage detected