summaryrefslogtreecommitdiff
path: root/tests/check_framework
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:49:03 -0500
commit8897f4b0df30f385d0a95156f8a18b4b25cea37e (patch)
tree06b90550ea4c2481adbe89a918817d5b1726e65e /tests/check_framework
parent519cfbb4e8f388664347fcc708e44148148ed6f8 (diff)
[1.9.x] Fixed many spelling mistakes in code, comments, and docs.
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
Diffstat (limited to 'tests/check_framework')
-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.