import os

from django import get_version
from django.conf import settings


def pytest_report_header(config):
    return 'django: ' + get_version()


def pytest_configure():
    if not settings.configured:
        os.environ['DJANGO_SETTINGS_MODULE'] = 'base.settings'
        os.environ['DJANGO_CONFIGURATION'] = 'Testing'

@@ -168,16 +168,60 @@
 gure():%0A
+    import dotenv%0A    dotenv.read_dotenv()%0A%0A
     if n

Read our .env when we test.