X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=tests%2Futils.py;h=c1a22b64fb56c9c4fd566245ce047c1d7fff428d;hb=83266154e9140151c975586d21f393a5eb3f4ef4;hp=fb7e22746a96482e04153adff90a4bfa086bd58c;hpb=206a9111fdc95fcb24ae4793a7536e1facf82b71;p=plomtask diff --git a/tests/utils.py b/tests/utils.py index fb7e227..c1a22b6 100644 --- 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() - 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: