|
@@ -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)
|
|
|
|