From 14bf5aaf9d58e3cd25c84d938b2c1621ccf2244c Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 12 Aug 2017 21:44:39 +0100 Subject: [PATCH] fix more tests --- openlp/plugins/remotes/deploy.py | 2 +- tests/functional/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 871459eb7..14a8b770a 100644 --- a/openlp/plugins/remotes/deploy.py +++ b/openlp/plugins/remotes/deploy.py @@ -64,6 +64,6 @@ def download_and_check(callback=None): file_size = get_url_file_size('https://get.openlp.org/webclient/site.zip') callback.setRange(0, file_size) if url_get_file(callback, '{host}{name}'.format(host='https://get.openlp.org/webclient/', name='site.zip'), - os.path.join(AppLocation.get_section_data_path('remotes'), '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') diff --git a/tests/functional/openlp_core_ui/test_servicemanager.py b/tests/functional/openlp_core_ui/test_servicemanager.py index 589f6e28d..e3de135b3 100644 --- a/tests/functional/openlp_core_ui/test_servicemanager.py +++ b/tests/functional/openlp_core_ui/test_servicemanager.py @@ -44,6 +44,7 @@ class TestServiceManager(TestCase): Create the UI """ Registry.create() + Registry().set_flag('no_web_server', False) def test_initial_service_manager(self): """