summaryrefslogtreecommitdiff
path: root/tests/sessions_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sessions_tests')
-rw-r--r--tests/sessions_tests/tests.py6
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;