pep8 fixes

This commit is contained in:
Tomas Groth 2015-10-27 22:36:52 +00:00
parent a8c5f8cb52
commit f712b35b08
2 changed files with 7 additions and 7 deletions

View File

@ -101,9 +101,7 @@ RECORDSET_TEST_DATA = [TestRecord(1, 'TITLE', 'Amazing Grace'),
'Just to learn from His&crlf;lips words of comfort&crlf;In the beautiful&crlf;'
'garden of prayer.&crlf;&crlf;There\'s a garden where&crlf;Jesus is waiting,&crlf;'
'And He bids you to come,&crlf;meet Him there;&crlf;Just to bow and&crlf;'
'receive a new blessing&crlf;In the beautiful&crlf;garden of prayer.&crlf;&crlf;'),
]
'receive a new blessing&crlf;In the beautiful&crlf;garden of prayer.&crlf;&crlf;')]
SONG_TEST_DATA = [{'title': 'Amazing Grace',
'verses': [
('Amazing grace! How\nsweet the sound\nThat saved a wretch like me!\nI once was lost,\n'
@ -200,7 +198,7 @@ class TestWorshipCenterProSongImport(TestCase):
mocked_manager = MagicMock()
mocked_import_wizard = MagicMock()
mocked_add_verse = MagicMock()
mocked_parse_author= MagicMock()
mocked_parse_author = MagicMock()
mocked_add_comment = MagicMock()
mocked_add_copyright = MagicMock()
mocked_finish = MagicMock()

View File

@ -35,6 +35,7 @@ from openlp.core.common import Registry
TEST_PATH = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', '..', '..', 'resources', 'zionworxsongs'))
class TestZionWorxImport(TestCase):
"""
Test the functions in the :mod:`zionworximport` module.
@ -59,6 +60,7 @@ class TestZionWorxImport(TestCase):
# THEN: The importer should be an instance of SongImport
self.assertIsInstance(importer, SongImport)
class TestZionWorxFileImport(SongImportTestHelper):
def __init__(self, *args, **kwargs):