forked from openlp/openlp
format changes
This commit is contained in:
parent
63d65da6c1
commit
f32409b5a5
@ -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
|
||||
|
@ -73,11 +73,11 @@ class TestThemeManagerHelper(TestCase):
|
||||
|
||||
# THEN:
|
||||
self.assertEqual(1, self.helper.build_theme_path.call_count,
|
||||
'The function build_theme_path should have been called')
|
||||
'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')
|
||||
'The global theme should have been set to my_theme')
|
||||
|
||||
def test_build_theme_path(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user