diff --git a/tests/conftest.py b/tests/conftest.py index c46e4892..c4d53a89 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -70,6 +70,7 @@ def pytest_configure(config): 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', + 'allauth.account.middleware.AccountMiddleware', ), INSTALLED_APPS=( 'django.contrib.auth',