Show More
@@ -18,6 +18,7 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 | |||
@@ -192,3 +193,11 class TestSQLiteBackend(TestDictBackend): | |||||
192 |
|
193 | |||
193 | def tearDown(self): |
|
194 | def tearDown(self): | |
194 | self.db._db.close() |
|
195 | self.db._db.close() | |
|
196 | ||||
|
197 | ||||
|
198 | def teardown(): | |||
|
199 | """cleanup task db file after all tests have run""" | |||
|
200 | try: | |||
|
201 | os.remove(os.path.join(tempfile.gettempdir(), 'tasks.db')) | |||
|
202 | except: | |||
|
203 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now