summaryrefslogtreecommitdiff
path: root/tests/view_tests
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2021-10-19 20:01:44 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-20 08:40:19 +0200
commit7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 (patch)
tree30886e504fb54694dd26aea5b197aea549de4af1 /tests/view_tests
parentfd881e8cd9b7686ab8fcd32332100710a8ffaa10 (diff)
downloaddjango-7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8.tar.gz
Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Diffstat (limited to 'tests/view_tests')
-rw-r--r--tests/view_tests/tests/test_i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py
index 63e9ef76c6..bfc31d9c70 100644
--- a/tests/view_tests/tests/test_i18n.py
+++ b/tests/view_tests/tests/test_i18n.py
@@ -58,7 +58,7 @@ class SetLanguageTests(TestCase):
def test_setlang_http_next(self):
"""
The set_language view only redirects to the 'next' argument if it is
- "safe" and its scheme is https if the request was sent over https.
+ "safe" and its scheme is HTTPS if the request was sent over HTTPS.
"""
lang_code = self._get_inactive_language_code()
non_https_next_url = 'http://testserver/redirection/'