From 0066a926e684422baedd5882c3f2195d251881ee Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 13 Aug 2017 06:19:04 +0100 Subject: [PATCH] More test fixes --- tests/interfaces/openlp_core_ui/test_mainwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interfaces/openlp_core_ui/test_mainwindow.py b/tests/interfaces/openlp_core_ui/test_mainwindow.py index c86fd5ef5..7c5d96ab3 100644 --- a/tests/interfaces/openlp_core_ui/test_mainwindow.py +++ b/tests/interfaces/openlp_core_ui/test_mainwindow.py @@ -45,6 +45,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, \