mirror of
https://github.com/django/django.git
synced 2025-11-24 21:00:12 +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:
parent
55b0cc2131
commit
69a93a88ed
378 changed files with 2781 additions and 1861 deletions
|
|
@ -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), [])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue