| Conditions | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """This module is to test the theme switcher plugin.""" |
||
| 13 | def test_single_theme(self): |
||
| 14 | """Changing the theme should effect the settings.""" |
||
| 15 | win = sublime.active_window() |
||
| 16 | |||
| 17 | future_skin = "Lachgummi Joghurt" |
||
| 18 | win.run_command( |
||
| 19 | "edit_theme", |
||
| 20 | { |
||
| 21 | "theme": future_skin |
||
| 22 | } |
||
| 23 | ) |
||
| 24 | |||
| 25 | settings = sublime.load_settings("Rainmeter.sublime-settings") |
||
| 26 | post_theme = settings.get("color_scheme", None) |
||
| 27 | |||
| 28 | self.assertTrue(future_skin in post_theme) |
||
| 29 | |||
| 48 |