diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-17 01:46:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-17 01:46:37 (GMT) |
commit | 5b883296f606d6c401ca27148cd826b0f9529f70 (patch) | |
tree | a22c55d6a836122860722bc0413aca023f2018ef /Lib/test/test_http_cookies.py | |
parent | 5f9fd1dd79e5342d918275e1541cf9b748d8ba6b (diff) | |
parent | bd341629b0435a524f9f355de178af22cc6d31ea (diff) | |
download | cpython-5b883296f606d6c401ca27148cd826b0f9529f70.zip cpython-5b883296f606d6c401ca27148cd826b0f9529f70.tar.gz cpython-5b883296f606d6c401ca27148cd826b0f9529f70.tar.bz2 |
merge 3.4 (#22986)
Diffstat (limited to 'Lib/test/test_http_cookies.py')
-rw-r--r-- | Lib/test/test_http_cookies.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_http_cookies.py b/Lib/test/test_http_cookies.py index 7c0e01b..ee30f17 100644 --- a/Lib/test/test_http_cookies.py +++ b/Lib/test/test_http_cookies.py @@ -114,7 +114,7 @@ class CookieTests(unittest.TestCase): C['Customer']['secure'] = True C['Customer']['httponly'] = True self.assertEqual(C.output(), - 'Set-Cookie: Customer="WILE_E_COYOTE"; httponly; secure') + 'Set-Cookie: Customer="WILE_E_COYOTE"; HttpOnly; Secure') def test_secure_httponly_false_if_not_present(self): C = cookies.SimpleCookie() @@ -145,7 +145,7 @@ class CookieTests(unittest.TestCase): C = cookies.SimpleCookie() C.load('eggs = scrambled ; secure ; path = bar ; foo=foo ') self.assertEqual(C.output(), - 'Set-Cookie: eggs=scrambled; Path=bar; secure\r\nSet-Cookie: foo=foo') + 'Set-Cookie: eggs=scrambled; Path=bar; Secure\r\nSet-Cookie: foo=foo') def test_quoted_meta(self): # Try cookie with quoted meta-data |