mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.5.x] Fixed #19039 - Python 3.3 fails unit test for duplicate bad cookies
Thanks to clelland for the report.
Backport of 71734dfa72 from master.
This commit is contained in:
@@ -569,7 +569,7 @@ class CookieTests(unittest.TestCase):
|
||||
"""
|
||||
Test that a repeated non-standard name doesn't affect all cookies. Ticket #15852
|
||||
"""
|
||||
self.assertTrue('good_cookie' in parse_cookie('a,=b; a,=c; good_cookie=yes').keys())
|
||||
self.assertTrue('good_cookie' in parse_cookie('a:=b; a:=c; good_cookie=yes').keys())
|
||||
|
||||
def test_httponly_after_load(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user