From e08440ea2f4841ac9b274c8ab69c4b41ecb714b4 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 12 Aug 2017 20:14:56 +0100 Subject: [PATCH] fix test --- tests/functional/openlp_core_ui/test_mainwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/openlp_core_ui/test_mainwindow.py b/tests/functional/openlp_core_ui/test_mainwindow.py index 59398420c..18f2dcddf 100644 --- a/tests/functional/openlp_core_ui/test_mainwindow.py +++ b/tests/functional/openlp_core_ui/test_mainwindow.py @@ -46,6 +46,7 @@ class TestMainWindow(TestCase, TestMixin): self.app.set_normal_cursor = MagicMock() self.app.args = [] Registry().register('application', self.app) + Registry().set_flag('no_web_server', False) # Mock classes and methods used by mainwindow. with patch('openlp.core.ui.mainwindow.SettingsForm') as mocked_settings_form, \ patch('openlp.core.ui.mainwindow.ImageManager') as mocked_image_manager, \