diff --git a/dpaste/settings/tests.py b/dpaste/settings/tests.py index bd8821e..22817cf 100644 --- a/dpaste/settings/tests.py +++ b/dpaste/settings/tests.py @@ -8,8 +8,3 @@ from .base import * # noqa SECRET_KEY = "test-key" DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}} - -# Drop CSP middleware for Django 3.0 until it was fixed upstream -# https://github.com/mozilla/django-csp/issues/129 -if django.get_version().startswith("3."): - MIDDLEWARE.remove("csp.middleware.CSPMiddleware")