forked from openlp/openlp
Remove unnecessary start of patch in test
This commit is contained in:
parent
9c64bd9d56
commit
612041dafa
@ -86,7 +86,6 @@ class TestProjectorDB(TestCase):
|
||||
"""
|
||||
if not hasattr(self, 'projector'):
|
||||
with patch('openlp.core.lib.db.init_url') as mocked_init_url:
|
||||
mocked_init_url.start()
|
||||
mocked_init_url.return_value = 'sqlite:///%s' % tmpfile
|
||||
self.projector = ProjectorDB()
|
||||
|
||||
|
@ -58,7 +58,6 @@ class TestProjectorManager(TestCase, TestMixin):
|
||||
Registry.create()
|
||||
if not hasattr(self, 'projector_manager'):
|
||||
with patch('openlp.core.lib.db.init_url') as mocked_init_url:
|
||||
#mocked_init_url.start()
|
||||
mocked_init_url.return_value = 'sqlite:///%s' % tmpfile
|
||||
self.projectordb = ProjectorDB()
|
||||
if not hasattr(self, 'projector_manager'):
|
||||
|
Loading…
Reference in New Issue
Block a user