forked from openlp/openlp
PEP Fixes
This commit is contained in:
parent
26e4606ed2
commit
e81a97f582
@ -176,9 +176,9 @@ class WordsOfWorshipImport(SongImport):
|
|||||||
err_text = data
|
err_text = data
|
||||||
if err_text:
|
if err_text:
|
||||||
self.log_error(file_path,
|
self.log_error(file_path,
|
||||||
translate('SongsPlugin.WordsofWorshipSongImport',
|
translate('SongsPlugin.WordsofWorshipSongImport',
|
||||||
'Invalid Words of Worship song file. Missing {text!r} header.'
|
'Invalid Words of Worship song file. Missing {text!r} header.'
|
||||||
).format(text=err_text))
|
).format(text=err_text))
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -64,7 +64,6 @@ class TestWordsOfWorshipFileImport(SongImportTestHelper):
|
|||||||
self.file_import([TEST_PATH / 'Test_Song_v2_0_0.wsg'],
|
self.file_import([TEST_PATH / 'Test_Song_v2_0_0.wsg'],
|
||||||
self.load_external_result_data(TEST_PATH / 'Test_Song_v2_0_0.json'))
|
self.load_external_result_data(TEST_PATH / 'Test_Song_v2_0_0.json'))
|
||||||
|
|
||||||
|
|
||||||
def test_test_song_song_import(self):
|
def test_test_song_song_import(self):
|
||||||
"""
|
"""
|
||||||
Test that loading a Words of Worship file v2.1.2 works correctly
|
Test that loading a Words of Worship file v2.1.2 works correctly
|
||||||
|
Loading…
Reference in New Issue
Block a user