forked from openlp/openlp
Fix PEP8 issues
This commit is contained in:
parent
6d63a008f0
commit
04d5a40542
@ -171,4 +171,4 @@ class TestImageManager(TestCase, TestMixin):
|
|||||||
self.lock.release()
|
self.lock.release()
|
||||||
# The sleep time is adjusted in the test case.
|
# The sleep time is adjusted in the test case.
|
||||||
time.sleep(self.sleep_time)
|
time.sleep(self.sleep_time)
|
||||||
return ''
|
return ''
|
||||||
|
@ -125,4 +125,4 @@ class TestMedia(TestCase, TestMixin):
|
|||||||
|
|
||||||
# THEN: the used_players should be an empty list, and the overridden player should be an empty string
|
# THEN: the used_players should be an empty list, and the overridden player should be an empty string
|
||||||
self.assertEqual(['vlc', 'webkit', 'phonon'], used_players, 'Used players should be correct')
|
self.assertEqual(['vlc', 'webkit', 'phonon'], used_players, 'Used players should be correct')
|
||||||
self.assertEqual('vlc,webkit,phonon', overridden_player, 'Overridden player should be a string of players')
|
self.assertEqual('vlc,webkit,phonon', overridden_player, 'Overridden player should be a string of players')
|
||||||
|
@ -95,7 +95,7 @@ class TestOpenSongImport(TestCase):
|
|||||||
# THEN: do_import should return none and the progress bar maximum should not be set.
|
# THEN: do_import should return none and the progress bar maximum should not be set.
|
||||||
self.assertIsNone(importer.do_import(), 'do_import should return None when import_source is not a list')
|
self.assertIsNone(importer.do_import(), 'do_import should return None when import_source is not a list')
|
||||||
self.assertEqual(mocked_import_wizard.progress_bar.setMaximum.called, False,
|
self.assertEqual(mocked_import_wizard.progress_bar.setMaximum.called, False,
|
||||||
'setMaximum on import_wizard.progress_bar should not have been called')
|
'setMaximum on import_wizard.progress_bar should not have been called')
|
||||||
|
|
||||||
def valid_import_source_test(self):
|
def valid_import_source_test(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user