From 6b91e792e6c5c3e4f99ee2f07532803464770adb Mon Sep 17 00:00:00 2001 From: stijndcl Date: Thu, 23 Jun 2022 11:38:58 +0200 Subject: [PATCH] Use event loop fixture again --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3c5761b..c2c5e0a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,7 +19,7 @@ def event_loop() -> Generator: @pytest.fixture(scope="session") -def tables(): +def tables(event_loop): """Initialize a database before the tests, and then tear it down again Starts from an empty database and runs through all the migrations to check those as well while we're at it