(self)
| 373 | 'background': '#171717'}) |
| 374 | |
| 375 | def test_get_theme_dict(self): |
| 376 | # TODO: finish. |
| 377 | conf = self.mock_config() |
| 378 | |
| 379 | # These two should be the same |
| 380 | self.assertEqual( |
| 381 | conf.GetThemeDict('default', 'IDLE Classic'), |
| 382 | conf.GetThemeDict('user', 'IDLE Classic')) |
| 383 | |
| 384 | with self.assertRaises(config.InvalidTheme): |
| 385 | conf.GetThemeDict('bad', 'IDLE Classic') |
| 386 | |
| 387 | def test_get_current_theme_and_keys(self): |
| 388 | conf = self.mock_config() |
nothing calls this directly
no test coverage detected