This commit is contained in:
Philip Ridout 2019-03-09 07:06:00 +00:00
parent 07a61c57e6
commit 0578ab8908

View File

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