summaryrefslogtreecommitdiff
path: root/tests/test_client
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_client')
-rw-r--r--tests/test_client/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_client/tests.py b/tests/test_client/tests.py
index 14191306c4..d914a89043 100644
--- a/tests/test_client/tests.py
+++ b/tests/test_client/tests.py
@@ -368,6 +368,10 @@ class ClientTest(TestCase):
response = self.client.get('/test_client/login_protected_view/')
self.assertRedirects(response, 'http://testserver/accounts/login/?next=/test_client/login_protected_view/')
+ @override_settings(SESSION_ENGINE="django.contrib.sessions.backends.signed_cookies")
+ def test_logout_cookie_sessions(self):
+ self.test_logout()
+
def test_view_with_permissions(self):
"Request a page that is protected with @permission_required"