[1.8.x] Fixed a typo in tests/middleware/test_security.py

Backport of 0850236a8c from master
This commit is contained in:
Tim Graham 2016-07-28 22:00:48 -04:00
parent 7665a52161
commit 33939f0183
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class SecurityMiddlewareTest(TestCase):
"""
self.assertEqual(self.process_response()["x-content-type-options"], "nosniff")
@override_settings(SECURE_CONTENT_TYPE_NO_SNIFF=True)
@override_settings(SECURE_CONTENT_TYPE_NOSNIFF=True)
def test_content_type_already_present(self):
"""
The middleware will not override an "x-content-type-options" header