faster tests

This commit is contained in:
thomas girod
2024-07-04 10:19:24 +02:00
parent 47fec973bc
commit aa07fa9207
11 changed files with 75 additions and 49 deletions

View File

@ -6,7 +6,7 @@ from django.utils.translation import activate
@pytest.fixture(scope="session")
def django_db_setup(django_db_setup, django_db_blocker):
with django_db_blocker.unblock():
call_command("setup")
call_command("populate")
@pytest.fixture(scope="session", autouse=True)