Skip to content

Commit 631fc65

Browse files
authored
Update expectations of cookies after redirects. (scrapy#6367)
1 parent 812fd23 commit 631fc65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: tests/test_downloadermiddleware_cookies.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def test_cookie_redirect_secure_undefined_downgrade(self):
784784
from_scheme="https",
785785
to_scheme="http",
786786
cookies1=True,
787-
cookies2=True, # xfail, due to a bug in the redirect middleware fixed elsewhere
787+
cookies2=False,
788788
cookies3=False,
789789
)
790790

@@ -804,7 +804,7 @@ def test_cookie_redirect_secure_false_downgrade(self):
804804
from_scheme="https",
805805
to_scheme="http",
806806
cookies1=True,
807-
cookies2=True, # xfail, due to a bug in the redirect middleware fixed elsewhere
807+
cookies2=False,
808808
cookies3=True,
809809
)
810810

@@ -824,7 +824,7 @@ def test_cookie_redirect_secure_true_downgrade(self):
824824
from_scheme="https",
825825
to_scheme="http",
826826
cookies1=True,
827-
cookies2=True, # xfail, due to a bug in the redirect middleware fixed elsewhere
827+
cookies2=False,
828828
cookies3=False,
829829
)
830830

0 commit comments

Comments
 (0)