summaryrefslogtreecommitdiff
path: root/tests/requests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/requests/tests.py')
-rw-r--r--tests/requests/tests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/requests/tests.py b/tests/requests/tests.py
index 45e219f345..be10623f87 100644
--- a/tests/requests/tests.py
+++ b/tests/requests/tests.py
@@ -611,7 +611,6 @@ class HostValidationTests(SimpleTestCase):
}
request.get_host()
-
@override_settings(DEBUG=True, ALLOWED_HOSTS=[])
def test_host_validation_disabled_in_debug_mode(self):
"""If ALLOWED_HOSTS is empty and DEBUG is True, all hosts pass."""