From 379bbf2280f0c6b156ad8d6d76785a75c3aa97e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiziano=20M=C3=BCller?= Date: Fri, 23 Jul 2021 17:13:23 +0200 Subject: [PATCH] tests: fix by getting a fresh DB before each test rather than cleaning up afterwards --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index ca20eb4..0005ec3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -9,5 +9,5 @@ @pytest.fixture(scope="function", autouse=True) -def clear_database_auto(clear_database): +def clear_database_auto(clear_database_before_test): """Automatically clear database in between tests."""