mirror of https://github.com/django/django.git
[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:
parent
142f69eb8c
commit
c426d56650
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue