summaryrefslogtreecommitdiff
path: root/tests/check_framework/test_security.py
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2015-12-02 23:55:50 +0000
committerTim Graham <timograham@gmail.com>2015-12-03 12:48:24 -0500
commit93452a70e8a62c7408eeded444f5088d4a26212d (patch)
treedfc64c81f0610e45650350e2d41918f5913ed098 /tests/check_framework/test_security.py
parentb6dd0afead80a17d0ac8c3ba35c510afac32a0b8 (diff)
Fixed many spelling mistakes in code, comments, and docs.
Diffstat (limited to 'tests/check_framework/test_security.py')
-rw-r--r--tests/check_framework/test_security.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_framework/test_security.py b/tests/check_framework/test_security.py
index adf1af952c..34254b66d5 100644
--- a/tests/check_framework/test_security.py
+++ b/tests/check_framework/test_security.py
@@ -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.