Show More
@@ -18,6 +18,7 b' Authors:' | |||||
18 |
|
18 | |||
19 | from __future__ import division |
|
19 | from __future__ import division | |
20 |
|
20 | |||
|
21 | import os | |||
21 | import tempfile |
|
22 | import tempfile | |
22 | import time |
|
23 | import time | |
23 |
|
24 | |||
@@ -222,3 +223,11 b' class TestSQLiteBackend(TestDictBackend):' | |||||
222 |
|
223 | |||
223 | def tearDown(self): |
|
224 | def tearDown(self): | |
224 | self.db._db.close() |
|
225 | self.db._db.close() | |
|
226 | ||||
|
227 | ||||
|
228 | def teardown(): | |||
|
229 | """cleanup task db file after all tests have run""" | |||
|
230 | try: | |||
|
231 | os.remove(os.path.join(tempfile.gettempdir(), 'tasks.db')) | |||
|
232 | except: | |||
|
233 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now