forked from openlp/openlp
PEP8
This commit is contained in:
parent
0578ab8908
commit
056b902cf9
@ -26,7 +26,6 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|||||||
|
|
||||||
from openlp.core.common import clean_button_text, is_macosx
|
from openlp.core.common import clean_button_text, is_macosx
|
||||||
from openlp.core.common.i18n import translate
|
from openlp.core.common.i18n import translate
|
||||||
from openlp.core.common.settings import Settings
|
|
||||||
from openlp.core.lib.ui import add_welcome_page
|
from openlp.core.lib.ui import add_welcome_page
|
||||||
from openlp.core.ui.icons import UiIcons
|
from openlp.core.ui.icons import UiIcons
|
||||||
|
|
||||||
|
@ -223,7 +223,6 @@ class TestFirstTimeForm(TestCase, TestMixin):
|
|||||||
mocked_theme_combo_box.findText.assert_called_once_with('Default Theme')
|
mocked_theme_combo_box.findText.assert_called_once_with('Default Theme')
|
||||||
mocked_theme_combo_box.setCurrentIndex(3)
|
mocked_theme_combo_box.setCurrentIndex(3)
|
||||||
|
|
||||||
|
|
||||||
@patch('openlp.core.ui.firsttimeform.Settings')
|
@patch('openlp.core.ui.firsttimeform.Settings')
|
||||||
@patch('openlp.core.ui.firsttimeform.QtWidgets.QWizard.accept')
|
@patch('openlp.core.ui.firsttimeform.QtWidgets.QWizard.accept')
|
||||||
def test_accept_method(self, mocked_qwizard_accept, *args):
|
def test_accept_method(self, mocked_qwizard_accept, *args):
|
||||||
|
Loading…
Reference in New Issue
Block a user