forked from openlp/openlp
fix more tests
This commit is contained in:
parent
14bf5aaf9d
commit
751ec88d94
@ -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'),
|
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'),
|
os.path.join(str(AppLocation.get_section_data_path('remotes')), 'site.zip'),
|
||||||
sha256=sha256):
|
sha256=sha256):
|
||||||
deploy_zipfile(AppLocation.get_section_data_path('remotes'), 'site.zip')
|
deploy_zipfile(str(AppLocation.get_section_data_path('remotes'), 'site.zip'))
|
||||||
|
@ -43,6 +43,7 @@ class TestServiceManager(TestCase, TestMixin):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
|
Registry().set_flag('no_web_server', False)
|
||||||
self.setup_application()
|
self.setup_application()
|
||||||
ScreenList.create(self.app.desktop())
|
ScreenList.create(self.app.desktop())
|
||||||
Registry().register('application', MagicMock())
|
Registry().register('application', MagicMock())
|
||||||
|
Loading…
Reference in New Issue
Block a user