Skip to content

Commit

Permalink
Revert "temp"
Browse files Browse the repository at this point in the history
This reverts commit 44636ed.
  • Loading branch information
atatabitovska committed Apr 4, 2022
1 parent 44636ed commit 11f8fb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_downloadermiddleware_cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,13 +757,13 @@ def test_complex(self):
{'name': 'C4', 'value': 'value4', 'path': '/foo', 'domain': 'scrapy.org'},
]

headers_c1 = {'Set-Cookie': 'C1=value1; path=/foo'}
headers_c1 = {'Set-Cookie': 'C1=value1; path=/foo', 'Set-Cookie': 'C3=value3; path=/foo'}
# headers_c2 = {'Set-Cookie': 'C2=value2; path=/bar'}
# headers_c3 = {'Set-Cookie': 'C3=value3; path=/foo'}
# headers_c4 = {'Set-Cookie': 'C4=value4; path=/foo'}

req = Request('http://scrapytest.org/foo', cookies=cookies)
res = Response('http://scrapytest.org/foo', headers=headers_c1)
req = Request('http://scrapytest.org/', cookies=cookies)
res = Response('http://scrapytest.org/', headers=headers_c1)
self.mw.process_request(req, self.spider)
self.mw.process_response(req, res, self.spider)

Expand Down

0 comments on commit 11f8fb3

Please sign in to comment.