diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e661f3cb4ffd30111912ba3dfd4a0e35d2e1fdb..d2e3587c0a24d84971e0f3b6b7350fc5f8c21e99 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -111,7 +111,6 @@ jobs: name: run tests command: | . venv/bin/activate - python manage.py collectstatic --noinput --verbosity=0 python manage.py check python manage.py makemigrations --check --noinput --verbosity=1 coverage run --source='hypha' manage.py test diff --git a/hypha/settings/test.py b/hypha/settings/test.py index d3a4abdea729367eddf73d8912f0a52a60f803a9..610dc3b03352a6d17bfd0d2b6365675a515d929b 100644 --- a/hypha/settings/test.py +++ b/hypha/settings/test.py @@ -12,9 +12,7 @@ SECRET_KEY = 'NOT A SECRET' PROJECTS_ENABLED = True PROJECTS_AUTO_CREATE = True -# Need this to ensure white noise doesn't kill the speed of testing -# http://whitenoise.evans.io/en/latest/django.html#whitenoise-makes-my-tests-run-slow -WHITENOISE_AUTOREFRESH = True +STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' PASSWORD_HASHERS = [ 'django.contrib.auth.hashers.MD5PasswordHasher',