From 751ec88d94b3dedf69893e0babdf2f1421fb4148 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 12 Aug 2017 21:52:19 +0100 Subject: [PATCH] fix more tests --- openlp/plugins/remotes/deploy.py | 2 +- tests/interfaces/openlp_core_ui/test_servicemanager.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/remotes/deploy.py b/openlp/plugins/remotes/deploy.py index 14a8b770a..3bcf666a7 100644 --- a/openlp/plugins/remotes/deploy.py +++ b/openlp/plugins/remotes/deploy.py @@ -66,4 +66,4 @@ def download_and_check(callback=None): if url_get_file(callback, '{host}{name}'.format(host='https://get.openlp.org/webclient/', name='site.zip'), os.path.join(str(AppLocation.get_section_data_path('remotes')), 'site.zip'), sha256=sha256): - deploy_zipfile(AppLocation.get_section_data_path('remotes'), 'site.zip') + deploy_zipfile(str(AppLocation.get_section_data_path('remotes'), 'site.zip')) diff --git a/tests/interfaces/openlp_core_ui/test_servicemanager.py b/tests/interfaces/openlp_core_ui/test_servicemanager.py index 349da8a4e..3cac77f15 100644 --- a/tests/interfaces/openlp_core_ui/test_servicemanager.py +++ b/tests/interfaces/openlp_core_ui/test_servicemanager.py @@ -43,6 +43,7 @@ class TestServiceManager(TestCase, TestMixin): Create the UI """ Registry.create() + Registry().set_flag('no_web_server', False) self.setup_application() ScreenList.create(self.app.desktop()) Registry().register('application', MagicMock())