More migration to fixtures

This commit is contained in:
2021-02-05 00:04:15 +00:00
parent 462a16ec42
commit baa3b2c9c6
11 changed files with 243 additions and 241 deletions

View File

@@ -16,7 +16,8 @@ from django.utils import timezone
pytestmark = pytest.mark.django_db
@pytest.fixture(scope='session')
@pytest.fixture(scope='module')
@pytest.mark.db(transaction=True)
def django_db_setup(django_db_setup, django_db_blocker): # We need stuff setup so we don't get 404 errors everywhere
with django_db_blocker.unblock():
from django.conf import settings