Oops, forgot a variable

This commit is contained in:
Raoul Snyman 2016-01-15 21:41:14 +02:00
parent 48eeb50d02
commit 478d356d2e
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class TestProjectorDB(TestCase):
"""
self.projector.session.close()
self.projector = None
retries = 0
while retries < 5:
try:
if os.path.exists(TEST_DB):

View File

@ -88,6 +88,7 @@ class ProjectorSourceFormTest(TestCase, TestMixin):
self.projectordb.session.close()
del(self.projectordb)
del(self.projector)
retries = 0
while retries < 5:
try:
if os.path.exists(TEST_DB):