diff --git a/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py b/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py index 9d0f7dca4..6a74e119f 100644 --- a/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py +++ b/tests/functional/openlp_plugins/songs/test_presentationmanagerimport.py @@ -38,12 +38,12 @@ TEST_PATH = os.path.abspath( os.path.join(os.path.dirname(__file__), '..', '..', '..', 'resources', 'presentationmanagersongs')) -class TestSongShowPlusFileImport(SongImportTestHelper): +class TestPresentationManagerFileImport(SongImportTestHelper): def __init__(self, *args, **kwargs): self.importer_class_name = 'PresentationManagerImport' self.importer_module_name = 'presentationmanager' - super(TestSongShowPlusFileImport, self).__init__(*args, **kwargs) + super(TestPresentationManagerFileImport, self).__init__(*args, **kwargs) def test_song_import(self): """ @@ -51,3 +51,5 @@ class TestSongShowPlusFileImport(SongImportTestHelper): """ self.file_import([os.path.join(TEST_PATH, 'Great Is Thy Faithfulness.sng')], self.load_external_result_data(os.path.join(TEST_PATH, 'Great Is Thy Faithfulness.json'))) + self.file_import([os.path.join(TEST_PATH, 'Agnus Dei.sng')], + self.load_external_result_data(os.path.join(TEST_PATH, 'Agnus Dei.json'))) diff --git a/tests/resources/presentationmanagersongs/Agnus Dei.json b/tests/resources/presentationmanagersongs/Agnus Dei.json new file mode 100644 index 000000000..71c916d38 --- /dev/null +++ b/tests/resources/presentationmanagersongs/Agnus Dei.json @@ -0,0 +1,14 @@ +{ + "title": "Agnus Dei", + "verse_order_list": ["v1", "v2"], + "verses": [ + [ + "Alleluia Alleluluia \nfor the Lord almighty reigns \nAlleluia Alleluluia \nHoly holy are you Lord God Almighty \nWorthy is the lamb \nWorthy is the lamb \nHoly holy are you Lord God Almighty", + "v1" + ], + [ + "Worthy is the lamb \nWorthy is the lamb \nYou are holy holy \nAre you lamb \nWorthy is the lamb \nYou are holy holy \nYou are holy holy", + "v2" + ] + ] +} diff --git a/tests/resources/presentationmanagersongs/Agnus Dei.sng b/tests/resources/presentationmanagersongs/Agnus Dei.sng new file mode 100644 index 000000000..ce4385c55 --- /dev/null +++ b/tests/resources/presentationmanagersongs/Agnus Dei.sng @@ -0,0 +1,34 @@ + + + +Agnus Dei + + + + + + + +Alleluia Alleluluia +for the Lord almighty reigns +Alleluia Alleluluia +Holy holy are you Lord God Almighty +Worthy is the lamb +Worthy is the lamb +Holy holy are you Lord God Almighty + + + + +Worthy is the lamb +Worthy is the lamb +You are holy holy +Are you lamb +Worthy is the lamb +You are holy holy +You are holy holy + + + + +