summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/test_security.py4
-rw-r--r--tests/check_framework/test_urls.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/check_framework/test_security.py b/tests/check_framework/test_security.py
index db21f13ea2..d5cc8a9ad6 100644
--- a/tests/check_framework/test_security.py
+++ b/tests/check_framework/test_security.py
@@ -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), [])
diff --git a/tests/check_framework/test_urls.py b/tests/check_framework/test_urls.py
index a31c5fd856..a3b219f3a4 100644
--- a/tests/check_framework/test_urls.py
+++ b/tests/check_framework/test_urls.py
@@ -24,7 +24,8 @@ class CheckUrlConfigTests(SimpleTestCase):
@override_settings(ROOT_URLCONF="check_framework.urls.warning_in_include")
def test_check_resolver_recursive(self):
- # The resolver is checked recursively (examining URL patterns in include()).
+ # The resolver is checked recursively (examining URL patterns in
+ # include()).
result = check_url_config(None)
self.assertEqual(len(result), 1)
warning = result[0]