forked from openlp/openlp
Test fix
This commit is contained in:
parent
07a61c57e6
commit
0578ab8908
@ -398,8 +398,8 @@ class TestFirstTimeForm(TestCase, TestMixin):
|
|||||||
frw.on_projectors_check_box_clicked()
|
frw.on_projectors_check_box_clicked()
|
||||||
|
|
||||||
# THEN: The visibility of the projects panel should have been set
|
# THEN: The visibility of the projects panel should have been set
|
||||||
mocked_settings().value.assert_called_once_with('projector/show after wizard')
|
mocked_settings.value.assert_called_once_with('projector/show after wizard')
|
||||||
mocked_settings().setValue.assert_called_once_with('projector/show after wizard', False)
|
mocked_settings.setValue.assert_called_once_with('projector/show after wizard', False)
|
||||||
|
|
||||||
@patch('openlp.core.ui.firsttimeform.Settings')
|
@patch('openlp.core.ui.firsttimeform.Settings')
|
||||||
def test_on_projectors_check_box_unchecked(self, MockSettings):
|
def test_on_projectors_check_box_unchecked(self, MockSettings):
|
||||||
|
Loading…
Reference in New Issue
Block a user