summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 16:51:51 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-10-28 18:04:50 +0100
commit88393357a6839fb4ce57793523bc25b17dc188a4 (patch)
tree7be109f2bafdeed527989756e450a91c7d0219b5
parent780eaa4779c5e6bd6bdc2c34e71aeae5d1b0dbbd (diff)
[1.5.x] Marked cookies-based session expiry test as an expected failure.
Refs #19201. Backport of 58337b3 from master.
-rw-r--r--django/contrib/sessions/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django/contrib/sessions/tests.py b/django/contrib/sessions/tests.py
index 129cd21735..718967791d 100644
--- a/django/contrib/sessions/tests.py
+++ b/django/contrib/sessions/tests.py
@@ -542,3 +542,8 @@ class CookieSessionTests(SessionTestsMixin, TestCase):
testing for this behavior is meaningless.
"""
pass
+
+ @unittest.expectedFailure
+ def test_actual_expiry(self):
+ # The cookie backend doesn't handle non-default expiry dates, see #19201
+ super(CookieSessionTests, self).test_actual_expiry()