Skip to content

Commit

Permalink
Fixed test for aiohttp 3.10 (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
soxoj authored Nov 23, 2024
1 parent ceaf8cd commit 9b0212d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def test_import_aiohttp_cookies():

cookie_jar = import_aiohttp_cookies(cookies_filename)
# new aiohttp support
assert list(cookie_jar._cookies.keys()) in (['xss.is', 'httpbin.org'], [('xss.is', '/'), ('httpbin.org', '/')])
assert list(cookie_jar._cookies.keys()) in (['xss.is', 'httpbin.org'], [('xss.is', '/'), ('httpbin.org', '/')], [('xss.is', ''), ('httpbin.org', '')])

url = 'https://httpbin.org/cookies'
connector = aiohttp.TCPConnector(ssl=False)
Expand Down

0 comments on commit 9b0212d

Please sign in to comment.