summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-17 10:06:02 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:05 -0500
commit6192bffb130132461e55e5fe7a7eaaa9a166d08f (patch)
tree7f0d9f07379149bd7f11cdd8989827a876425a99 /tests/check_framework
parent98760ab0b2f1ce03234a5e6a52decd9f23d3994a (diff)
Refs #26601 -- Removed obsolete system check for MIDDLEWARE_CLASSES setting.
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/tests_1_10_compatibility.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/check_framework/tests_1_10_compatibility.py b/tests/check_framework/tests_1_10_compatibility.py
deleted file mode 100644
index 388ac1b024..0000000000
--- a/tests/check_framework/tests_1_10_compatibility.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from django.core.checks.compatibility.django_1_10 import \
- check_duplicate_middleware_settings
-from django.test import SimpleTestCase
-from django.test.utils import override_settings
-
-
-class CheckDuplicateMiddlwareSettingsTest(SimpleTestCase):
-
- @override_settings(MIDDLEWARE=[], MIDDLEWARE_CLASSES=['django.middleware.common.CommonMiddleware'])
- def test_duplicate_setting(self):
- result = check_duplicate_middleware_settings(None)
- self.assertEqual(result[0].id, '1_10.W001')
-
- @override_settings(MIDDLEWARE=None)
- def test_middleware_not_defined(self):
- result = check_duplicate_middleware_settings(None)
- self.assertEqual(len(result), 0)