fix more tests

This commit is contained in:
Tim Bentley 2017-08-12 21:44:39 +01:00
parent e6862f28e3
commit 14bf5aaf9d
2 changed files with 2 additions and 1 deletions

View File

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

View File

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