mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user