summaryrefslogtreecommitdiff
path: root/tests/middleware/test_security.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/middleware/test_security.py')
-rw-r--r--tests/middleware/test_security.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/middleware/test_security.py b/tests/middleware/test_security.py
index 339b9181c3..142f1311ae 100644
--- a/tests/middleware/test_security.py
+++ b/tests/middleware/test_security.py
@@ -130,9 +130,9 @@ class SecurityMiddlewareTest(SimpleTestCase):
def test_sts_subdomains_and_preload(self):
"""
With SECURE_HSTS_SECONDS non-zero, SECURE_HSTS_INCLUDE_SUBDOMAINS and
- SECURE_HSTS_PRELOAD True, the middleware adds a "Strict-Transport-Security"
- header containing both the "includeSubDomains" and "preload" directives
- to the response.
+ SECURE_HSTS_PRELOAD True, the middleware adds a
+ "Strict-Transport-Security" header containing both the
+ "includeSubDomains" and "preload" directives to the response.
"""
response = self.process_response(secure=True)
self.assertEqual(