forked from openlp/openlp
fix more tests
This commit is contained in:
parent
e6862f28e3
commit
14bf5aaf9d
@ -64,6 +64,6 @@ def download_and_check(callback=None):
|
|||||||
file_size = get_url_file_size('https://get.openlp.org/webclient/site.zip')
|
file_size = get_url_file_size('https://get.openlp.org/webclient/site.zip')
|
||||||
callback.setRange(0, file_size)
|
callback.setRange(0, file_size)
|
||||||
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(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(AppLocation.get_section_data_path('remotes'), 'site.zip')
|
||||||
|
@ -44,6 +44,7 @@ class TestServiceManager(TestCase):
|
|||||||
Create the UI
|
Create the UI
|
||||||
"""
|
"""
|
||||||
Registry.create()
|
Registry.create()
|
||||||
|
Registry().set_flag('no_web_server', False)
|
||||||
|
|
||||||
def test_initial_service_manager(self):
|
def test_initial_service_manager(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user