diff options
| author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
| commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
| tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/sessions_tests | |
| parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/sessions_tests')
| -rw-r--r-- | tests/sessions_tests/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sessions_tests/tests.py b/tests/sessions_tests/tests.py index d5690e1668..ae57f1d919 100644 --- a/tests/sessions_tests/tests.py +++ b/tests/sessions_tests/tests.py @@ -695,7 +695,7 @@ class SessionMiddlewareTests(TestCase): # Handle the response through the middleware response = middleware.process_response(request, response) - # Check that the value wasn't saved above. + # The value wasn't saved above. self.assertNotIn('hello', request.session.load()) def test_session_update_error_redirect(self): @@ -733,7 +733,7 @@ class SessionMiddlewareTests(TestCase): # Handle the response through the middleware response = middleware.process_response(request, response) - # Check that the cookie was deleted, not recreated. + # The cookie was deleted, not recreated. # A deleted cookie header looks like: # Set-Cookie: sessionid=; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/ self.assertEqual( @@ -761,7 +761,7 @@ class SessionMiddlewareTests(TestCase): # Handle the response through the middleware response = middleware.process_response(request, response) - # Check that the cookie was deleted, not recreated. + # The cookie was deleted, not recreated. # A deleted cookie header with a custom domain and path looks like: # Set-Cookie: sessionid=; Domain=.example.local; # expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; |
