From cb7719b59feaa432e7c14dde93320fda3cdc2a5e Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Tue, 21 Jan 2020 23:24:13 +0100 Subject: [PATCH] Update tests.py --- dpaste/settings/tests.py | 5 ----- 1 file changed, 5 deletions(-) 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")