| Conditions | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | import sublime |
||
| 11 | def test_edit_theme_command_single_theme(self): |
||
| 12 | """Should run through.""" |
||
| 13 | win = sublime.active_window() |
||
| 14 | |||
| 15 | future_skin = "Lachgummi Joghurt" |
||
| 16 | win.run_command( |
||
| 17 | "edit_theme", |
||
| 18 | { |
||
| 19 | "theme": future_skin |
||
| 20 | } |
||
| 21 | ) |
||
| 22 | |||
| 23 | settings = sublime.load_settings("Rainmeter.sublime-settings") |
||
| 24 | post_theme = settings.get("color_scheme", None) |
||
| 25 | |||
| 26 | self.assertTrue(future_skin in post_theme) |
||
| 27 | |||
| 45 |