forked from openlp/openlp
fixed some seg faults
This commit is contained in:
parent
a3d95acabd
commit
114a2a12a8
@ -45,8 +45,8 @@ class TestProjectorEditForm(TestCase, TestMixin):
|
||||
|
||||
:return: None
|
||||
"""
|
||||
self.build_settings()
|
||||
self.setup_application()
|
||||
self.build_settings()
|
||||
Registry.create()
|
||||
with patch('openlp.core.lib.projector.db.init_url') as mocked_init_url:
|
||||
if os.path.exists(TEST_DB):
|
||||
|
@ -38,6 +38,7 @@ class TestBibleManager(TestCase, TestMixin):
|
||||
"""
|
||||
Set up the environment for testing bible queries with 1 Timothy 3
|
||||
"""
|
||||
self.setup_application()
|
||||
self.build_settings()
|
||||
Registry.create()
|
||||
Registry().register('service_list', MagicMock())
|
||||
|
@ -38,6 +38,7 @@ class TestBibleManager(TestCase, TestMixin):
|
||||
"""
|
||||
Set up the environment for testing bible parse reference
|
||||
"""
|
||||
self.setup_application()
|
||||
self.build_settings()
|
||||
Registry.create()
|
||||
Registry().register('service_list', MagicMock())
|
||||
|
Loading…
Reference in New Issue
Block a user