fix more tests

This commit is contained in:
Tim Bentley 2017-08-12 21:52:19 +01:00
parent 14bf5aaf9d
commit 751ec88d94
2 changed files with 2 additions and 1 deletions

View File

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

View File

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