mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +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:
@@ -215,8 +215,8 @@ class CheckStrictTransportSecurityTest(SimpleTestCase):
|
||||
@override_settings(MIDDLEWARE=[], SECURE_HSTS_SECONDS=0)
|
||||
def test_no_sts_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SECURE_HSTS_SECONDS isn't > 0 and SecurityMiddleware isn't
|
||||
installed.
|
||||
Don't warn if SECURE_HSTS_SECONDS isn't > 0 and SecurityMiddleware
|
||||
isn't installed.
|
||||
"""
|
||||
self.assertEqual(base.check_sts(None), [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user