From e124229040fbb66948e309266577ea6fc8d4e7bb Mon Sep 17 00:00:00 2001 From: Bastian Germann Date: Thu, 11 Oct 2018 20:25:53 +0200 Subject: [PATCH] Try to fix CI --- openlp/core/lib/__init__.py | 2 +- setup.py | 2 +- tests/functional/openlp_core/common/test_i18n.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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/setup.py b/setup.py index d9192706a..8693fb3b8 100755 --- a/setup.py +++ b/setup.py @@ -188,7 +188,7 @@ using a computer and a data projector.""", author_email='raoulsnyman@openlp.org', url='https://openlp.org/', license='GNU General Public License', - packages=find_packages(exclude=['ez_setup', 'tests*']), + packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, python_requires='>=3.6', diff --git a/tests/functional/openlp_core/common/test_i18n.py b/tests/functional/openlp_core/common/test_i18n.py index ba7998258..31d67c873 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)'