summaryrefslogtreecommitdiff
path: root/tests/test_client
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/test_client
parentfd881e8cd9b7686ab8fcd32332100710a8ffaa10 (diff)
downloaddjango-7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8.tar.gz
Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Diffstat (limited to 'tests/test_client')
-rw-r--r--tests/test_client/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client/tests.py b/tests/test_client/tests.py
index e8ac4bfc00..f138cc69b3 100644
--- a/tests/test_client/tests.py
+++ b/tests/test_client/tests.py
@@ -360,12 +360,12 @@ class ClientTest(TestCase):
self.assertContains(response, '30 is the value')
def test_redirect_http(self):
- "GET a URL that redirects to an http URI"
+ """GET a URL that redirects to an HTTP URI."""
response = self.client.get('/http_redirect_view/', follow=True)
self.assertFalse(response.test_was_secure_request)
def test_redirect_https(self):
- "GET a URL that redirects to an https URI"
+ """GET a URL that redirects to an HTTPS URI."""
response = self.client.get('/https_redirect_view/', follow=True)
self.assertTrue(response.test_was_secure_request)