PEP Fixes

This commit is contained in:
Phill 2019-06-28 19:29:39 +01:00
parent 26e4606ed2
commit e81a97f582
2 changed files with 3 additions and 4 deletions

View File

@ -176,9 +176,9 @@ class WordsOfWorshipImport(SongImport):
err_text = data
if err_text:
self.log_error(file_path,
translate('SongsPlugin.WordsofWorshipSongImport',
'Invalid Words of Worship song file. Missing {text!r} header.'
).format(text=err_text))
translate('SongsPlugin.WordsofWorshipSongImport',
'Invalid Words of Worship song file. Missing {text!r} header.'
).format(text=err_text))
return False
return True

View File

@ -64,7 +64,6 @@ class TestWordsOfWorshipFileImport(SongImportTestHelper):
self.file_import([TEST_PATH / 'Test_Song_v2_0_0.wsg'],
self.load_external_result_data(TEST_PATH / 'Test_Song_v2_0_0.json'))
def test_test_song_song_import(self):
"""
Test that loading a Words of Worship file v2.1.2 works correctly