Skip to content

Commit

Permalink
Work around Python 3.4.3 cookie breakage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jun 2, 2015
1 parent 0577be7 commit 257d3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/publisher/tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def testSetCookie(self):
self.assertTrue('Path=/froboz;' in c)
self.assertTrue('Max-Age=3600;' in c)
self.assertTrue('Comment=blah%3B%E2%98%A3?;' in c, repr(c))
self.assertTrue('secure;' in c or 'secure' in c)
self.assertTrue('secure;' in c or 'secure' in c.lower())

c = self._getCookieFromResponse([('foo', 'bar', {'secure': False})])[0]
self.assertTrue('foo=bar;' in c or 'foo=bar' in c)
Expand Down

0 comments on commit 257d3c4

Please sign in to comment.