From 139e1bb8182f843d7d2591da0b3c6949849ed451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Ba=C3=B1ados=20Schwerter?= Date: Thu, 17 Oct 2024 20:31:46 +0000 Subject: [PATCH] Setting import test db to the module level instead of the session seems to help. --- src/morphodict/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/morphodict/conftest.py b/src/morphodict/conftest.py index 90dac8899..66e24e6cb 100644 --- a/src/morphodict/conftest.py +++ b/src/morphodict/conftest.py @@ -6,7 +6,7 @@ from django.core.management import call_command -@pytest.fixture(scope="session") +@pytest.fixture(scope="module") def django_db_setup(request, django_db_blocker): """ Normally pytest-django creates a new, empty in-memory database and runs