def test_check_need_to_reload_bad_path(self, _init_pygame):
     theme = UIAppearanceTheme(BlockingThreadedResourceLoader())
     theme._theme_file_path = "not_a_theme.json"
     assert theme.check_need_to_reload() is False
Example #2
0
 def test_check_need_to_reload_bad_path(self, _init_pygame):
     theme = UIAppearanceTheme()
     theme._theme_file_path = "not_a_theme.json"
     assert theme.check_need_to_reload() is False