Try to fix CI

This commit is contained in:
Bastian Germann 2018-10-11 20:25:53 +02:00
parent 0e61b22a10
commit e124229040
3 changed files with 3 additions and 2 deletions

View File

@ -609,4 +609,4 @@ def create_separated_list(string_list):
last=string_list[-1])
else:
list_to_string = ''
return list_to_string
return list_to_string

View File

@ -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',

View File

@ -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)'