forked from openlp/openlp
Fix pycodestyle line spacing warnings
This commit is contained in:
parent
6dc1c37d59
commit
8a5a2628dc
@ -609,4 +609,4 @@ def create_separated_list(string_list):
|
|||||||
last=string_list[-1])
|
last=string_list[-1])
|
||||||
else:
|
else:
|
||||||
list_to_string = ''
|
list_to_string = ''
|
||||||
return list_to_string
|
return list_to_string
|
||||||
|
@ -162,6 +162,7 @@ def test_check_same_instance():
|
|||||||
def test_get_language_from_settings():
|
def test_get_language_from_settings():
|
||||||
assert LanguageManager.get_language() == 'en'
|
assert LanguageManager.get_language() == 'en'
|
||||||
|
|
||||||
|
|
||||||
def test_get_language_from_settings_returns_unchanged_if_unknown_format():
|
def test_get_language_from_settings_returns_unchanged_if_unknown_format():
|
||||||
Settings().setValue('core/language', '(foobar)')
|
Settings().setValue('core/language', '(foobar)')
|
||||||
assert LanguageManager.get_language() == '(foobar)'
|
assert LanguageManager.get_language() == '(foobar)'
|
||||||
|
@ -32,6 +32,7 @@ from openlp.core.common.registry import Registry
|
|||||||
from openlp.plugins.images.forms.choosegroupform import ChooseGroupForm
|
from openlp.plugins.images.forms.choosegroupform import ChooseGroupForm
|
||||||
from tests.helpers.testmixin import TestMixin
|
from tests.helpers.testmixin import TestMixin
|
||||||
|
|
||||||
|
|
||||||
class TestImageChooseGroupForm(TestCase, TestMixin):
|
class TestImageChooseGroupForm(TestCase, TestMixin):
|
||||||
"""
|
"""
|
||||||
Test the ChooseGroupForm class
|
Test the ChooseGroupForm class
|
||||||
@ -75,7 +76,6 @@ class TestImageChooseGroupForm(TestCase, TestMixin):
|
|||||||
assert self.form.group_combobox.currentIndex() == 1
|
assert self.form.group_combobox.currentIndex() == 1
|
||||||
assert self.form.existing_radio_button.isChecked()
|
assert self.form.existing_radio_button.isChecked()
|
||||||
|
|
||||||
|
|
||||||
def test_auto_select_existing_group_on_combo_selection(self):
|
def test_auto_select_existing_group_on_combo_selection(self):
|
||||||
"""
|
"""
|
||||||
Tests that the Existing Group option becomes selected when changing the combobox
|
Tests that the Existing Group option becomes selected when changing the combobox
|
||||||
|
Loading…
Reference in New Issue
Block a user