home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Todo.comment, and for that purpose basic SQL migration infrastructure.
[plomtask]
/
tests
/
utils.py
diff --git
a/tests/utils.py
b/tests/utils.py
index fb7e22746a96482e04153adff90a4bfa086bd58c..c1a22b64fb56c9c4fd566245ce047c1d7fff428d 100644
(file)
--- a/
tests/utils.py
+++ b/
tests/utils.py
@@
-45,8
+45,7
@@
class TestCaseWithDB(TestCase):
ProcessStep.empty_cache()
Todo.empty_cache()
timestamp = datetime.now().timestamp()
ProcessStep.empty_cache()
Todo.empty_cache()
timestamp = datetime.now().timestamp()
- self.db_file = DatabaseFile(f'test_db:{timestamp}')
- self.db_file.remake()
+ self.db_file = DatabaseFile.create_at(f'test_db:{timestamp}')
self.db_conn = DatabaseConnection(self.db_file)
def tearDown(self) -> None:
self.db_conn = DatabaseConnection(self.db_file)
def tearDown(self) -> None: