Fix pycodestyle line spacing warnings

This commit is contained in:
Kyle Russell 2018-08-31 20:27:53 -04:00
parent 6dc1c37d59
commit 8a5a2628dc
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

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

View File

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