(self)
| 571 | del root |
| 572 | |
| 573 | def test_get_core_keys(self): |
| 574 | conf = self.mock_config() |
| 575 | |
| 576 | eq = self.assertEqual |
| 577 | eq(conf.GetCoreKeys()['<<center-insert>>'], ['<Control-l>']) |
| 578 | eq(conf.GetCoreKeys()['<<copy>>'], ['<Control-c>', '<Control-C>']) |
| 579 | eq(conf.GetCoreKeys()['<<history-next>>'], ['<Alt-n>']) |
| 580 | eq(conf.GetCoreKeys('IDLE Classic Windows')['<<center-insert>>'], |
| 581 | ['<Control-Key-l>', '<Control-Key-L>']) |
| 582 | eq(conf.GetCoreKeys('IDLE Classic OSX')['<<copy>>'], ['<Command-Key-c>']) |
| 583 | eq(conf.GetCoreKeys('IDLE Classic Unix')['<<history-next>>'], |
| 584 | ['<Alt-Key-n>', '<Meta-Key-n>']) |
| 585 | eq(conf.GetCoreKeys('IDLE Modern Unix')['<<history-next>>'], |
| 586 | ['<Alt-Key-n>', '<Meta-Key-n>']) |
| 587 | |
| 588 | |
| 589 | class CurrentColorKeysTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected