format changes

This commit is contained in:
Tim Bentley 2013-12-06 19:00:37 +00:00
parent 63d65da6c1
commit f32409b5a5
2 changed files with 4 additions and 4 deletions

View File

@ -316,7 +316,7 @@ class MessageListener(object):
hide_mode = message[2]
file = item.get_frame_path()
self.handler = item.processor
if self.handler == self.media_item.Automatic:
if self.handler == self.media_item.automatic:
self.handler = self.media_item.findControllerByType(file)
if not self.handler:
return

View File

@ -75,7 +75,7 @@ class TestThemeManagerHelper(TestCase):
self.assertEqual(1, self.helper.build_theme_path.call_count,
'The function build_theme_path should have been called')
self.assertEqual(1, self.helper.load_first_time_themes.call_count,
'The function load_first_time_themes should have been called')
'The function load_first_time_themes should have been called only once')
self.assertEqual(self.helper.global_theme , 'my_theme',
'The global theme should have been set to my_theme')