Fix PEP8 issues

This commit is contained in:
Stewart Becker 2014-04-22 22:48:48 +01:00
parent 6d63a008f0
commit 04d5a40542
3 changed files with 3 additions and 3 deletions

View File

@ -171,4 +171,4 @@ class TestImageManager(TestCase, TestMixin):
self.lock.release()
# The sleep time is adjusted in the test case.
time.sleep(self.sleep_time)
return ''
return ''

View File

@ -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
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')

View File

@ -95,7 +95,7 @@ class TestOpenSongImport(TestCase):
# 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.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):
"""