Skip to content
Myr

Fixed test_multiple_set_cookie (#1270)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Fixed test_multiple_set_cookie * Update test_cookies.py

authored by cdeler · committed by GitHub · parent a783fe5 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+2 added−2 removed

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:tests/models/test_cookies.py+2 added-2 removed
55 unmodified lines
56 jar = http.cookiejar.CookieJar()57 headers = [58 (59 b"Set-Cookie",60 b"1P_JAR=2020-08-09-18; expires=Tue, 08-Sep-2020 18:33:35 GMT; "60 b"1P_JAR=2020-08-09-18; expires=Tue, 08-Sep-2099 18:33:35 GMT; "61 b"path=/; domain=.example.org; Secure",62 ),63 (64 b"Set-Cookie",65 b"NID=204=KWdXOuypc86YvRfBSiWoW1dEXfSl_5qI7sxZY4umlk4J35yNTeNEkw15"66 b"MRaujK6uYCwkrtjihTTXZPp285z_xDOUzrdHt4dj0Z5C0VOpbvdLwRdHatHAzQs7"67 b"7TsaiWY78a3qU9r7KP_RbSLvLl2hlhnWFR2Hp5nWKPsAcOhQgSg; expires=Mon, "68 b"08-Feb-2021 18:33:35 GMT; path=/; domain=.example.org; HttpOnly",68 b"08-Feb-2099 18:33:35 GMT; path=/; domain=.example.org; HttpOnly",69 ),70 ]71 request = httpx.Request("GET", "https://www.example.org")72 response = httpx.Response(200, request=request, headers=headers)
15 unmodified lines