diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index 0111c13e5..e15f81ab6 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -609,4 +609,4 @@ def create_separated_list(string_list): last=string_list[-1]) else: list_to_string = '' - return list_to_string \ No newline at end of file + return list_to_string diff --git a/tests/functional/openlp_core/common/test_i18n.py b/tests/functional/openlp_core/common/test_i18n.py index 7dadcb976..a4b896c6b 100644 --- a/tests/functional/openlp_core/common/test_i18n.py +++ b/tests/functional/openlp_core/common/test_i18n.py @@ -162,6 +162,7 @@ def test_check_same_instance(): def test_get_language_from_settings(): assert LanguageManager.get_language() == 'en' + def test_get_language_from_settings_returns_unchanged_if_unknown_format(): Settings().setValue('core/language', '(foobar)') assert LanguageManager.get_language() == '(foobar)' diff --git a/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py b/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py index c09982096..024b15f1b 100644 --- a/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py +++ b/tests/interfaces/openlp_plugins/images/forms/test_choosegroupform.py @@ -32,6 +32,7 @@ from openlp.core.common.registry import Registry from openlp.plugins.images.forms.choosegroupform import ChooseGroupForm from tests.helpers.testmixin import TestMixin + class TestImageChooseGroupForm(TestCase, TestMixin): """ Test the ChooseGroupForm class @@ -75,7 +76,6 @@ class TestImageChooseGroupForm(TestCase, TestMixin): assert self.form.group_combobox.currentIndex() == 1 assert self.form.existing_radio_button.isChecked() - def test_auto_select_existing_group_on_combo_selection(self): """ Tests that the Existing Group option becomes selected when changing the combobox