File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1263,8 +1263,7 @@ def test_missing_final_slash(self):
12631263 self .assertTrue (req .has_header ("Cookie" ))
12641264
12651265 def test_set_ok_port (self ):
1266- pol = DefaultCookiePolicy (
1267- rfc2965 = True , blocked_domains = [])
1266+ pol = DefaultCookiePolicy ()
12681267 c = CookieJar (policy = pol )
12691268 headers = ["Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; port=1234" ]
12701269 req = urllib .request .Request ("http://127.0.0.1:1234" )
@@ -1284,8 +1283,7 @@ def test_set_ok_port(self):
12841283 self .assertFalse (pol .set_ok_port (c .make_cookies (res , req )[0 ], req ))
12851284
12861285 def test_return_ok_port (self ):
1287- pol = DefaultCookiePolicy (
1288- rfc2965 = True , blocked_domains = [])
1286+ pol = DefaultCookiePolicy ()
12891287 c = CookieJar (policy = pol )
12901288 headers = ["Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; port=1234" ]
12911289 req = urllib .request .Request ("http://127.0.0.1:1234" )
You can’t perform that action at this time.
0 commit comments