From e81a97f582eb17ffb982a3a3c04778c0c1b44c0a Mon Sep 17 00:00:00 2001 From: Phill Date: Fri, 28 Jun 2019 19:29:39 +0100 Subject: [PATCH] PEP Fixes --- openlp/plugins/songs/lib/importers/wordsofworship.py | 6 +++--- .../openlp_plugins/songs/test_wordsofworshipimport.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openlp/plugins/songs/lib/importers/wordsofworship.py b/openlp/plugins/songs/lib/importers/wordsofworship.py index 0891fab67..6a3f1707e 100644 --- a/openlp/plugins/songs/lib/importers/wordsofworship.py +++ b/openlp/plugins/songs/lib/importers/wordsofworship.py @@ -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 diff --git a/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py b/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py index be990729d..706ba215f 100644 --- a/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py +++ b/tests/functional/openlp_plugins/songs/test_wordsofworshipimport.py @@ -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