mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed many spelling mistakes in code, comments, and docs.
This commit is contained in:
@@ -224,7 +224,7 @@ class CheckStrictTransportSecurityTest(SimpleTestCase):
|
||||
@override_settings(
|
||||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_HSTS_SECONDS=0)
|
||||
def test_no_sts_no_middlware(self):
|
||||
def test_no_sts_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SECURE_HSTS_SECONDS isn't > 0 and SecurityMiddleware isn't
|
||||
installed.
|
||||
@@ -258,7 +258,7 @@ class CheckStrictTransportSecuritySubdomainsTest(SimpleTestCase):
|
||||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_HSTS_INCLUDE_SUBDOMAINS=False,
|
||||
SECURE_HSTS_SECONDS=3600)
|
||||
def test_no_sts_subdomains_no_middlware(self):
|
||||
def test_no_sts_subdomains_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SecurityMiddleware isn't installed.
|
||||
"""
|
||||
@@ -415,7 +415,7 @@ class CheckSSLRedirectTest(SimpleTestCase):
|
||||
@override_settings(
|
||||
MIDDLEWARE_CLASSES=[],
|
||||
SECURE_SSL_REDIRECT=False)
|
||||
def test_no_ssl_redirect_no_middlware(self):
|
||||
def test_no_ssl_redirect_no_middleware(self):
|
||||
"""
|
||||
Don't warn if SECURE_SSL_REDIRECT is False and SecurityMiddleware isn't
|
||||
installed.
|
||||
|
||||
Reference in New Issue
Block a user