Tests actually work again

This commit is contained in:
2021-02-08 15:17:09 +00:00
parent ef1d9868da
commit e48e016cb9
6 changed files with 109 additions and 124 deletions

View File

@@ -11,7 +11,8 @@ def pytest_configure():
settings.PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher',
)
settings.STATICFILES_DIRS.append('static/') # FIXME
settings.WHITENOISE_USE_FINDERS = True
settings.WHITENOISE_AUTOREFRESH = True
django.setup()