From 5d62beb61a7d5a6bb2755d2cdabc8e31f462391f Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 19 Oct 2021 20:01:44 +0100 Subject: [4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings. Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main --- tests/view_tests/tests/test_i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/view_tests') 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/' -- cgit v1.3