From: cdeler Date: Wed, 9 Sep 2020 09:01:39 +0000 (+0300) Subject: Fixed test_multiple_set_cookie (#1270) X-Git-Tag: 0.15.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15187e7c21e25bd7cc7cc6b0be51b79469a153a7;p=thirdparty%2Fhttpx.git Fixed test_multiple_set_cookie (#1270) * Fixed test_multiple_set_cookie * Update test_cookies.py Co-authored-by: Tom Christie --- diff --git a/tests/models/test_cookies.py b/tests/models/test_cookies.py index 12d0fb5a..98027812 100644 --- a/tests/models/test_cookies.py +++ b/tests/models/test_cookies.py @@ -57,7 +57,7 @@ def test_multiple_set_cookie(): headers = [ ( b"Set-Cookie", - b"1P_JAR=2020-08-09-18; expires=Tue, 08-Sep-2020 18:33:35 GMT; " + b"1P_JAR=2020-08-09-18; expires=Tue, 08-Sep-2099 18:33:35 GMT; " b"path=/; domain=.example.org; Secure", ), ( @@ -65,7 +65,7 @@ def test_multiple_set_cookie(): b"NID=204=KWdXOuypc86YvRfBSiWoW1dEXfSl_5qI7sxZY4umlk4J35yNTeNEkw15" b"MRaujK6uYCwkrtjihTTXZPp285z_xDOUzrdHt4dj0Z5C0VOpbvdLwRdHatHAzQs7" b"7TsaiWY78a3qU9r7KP_RbSLvLl2hlhnWFR2Hp5nWKPsAcOhQgSg; expires=Mon, " - b"08-Feb-2021 18:33:35 GMT; path=/; domain=.example.org; HttpOnly", + b"08-Feb-2099 18:33:35 GMT; path=/; domain=.example.org; HttpOnly", ), ] request = httpx.Request("GET", "https://www.example.org")