You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the following code, which preserves the response body in case raise_for_status=True.
I copied it from aio-libs/aiohttp#4600 (comment) and it works in reality but not when testing with aioresponses:
I cannot point my finger on it. Might be my test setup is wrong but I feel like this is an error/missing feature of aioresponses, because, as I said, it works with a real server but not with a mocked one.
The text was updated successfully, but these errors were encountered:
I'm using the following code, which preserves the response body in case
raise_for_status=True
.I copied it from aio-libs/aiohttp#4600 (comment) and it works in reality but not when testing with aioresponses:
I cannot point my finger on it. Might be my test setup is wrong but I feel like this is an error/missing feature of aioresponses, because, as I said, it works with a real server but not with a mocked one.
The text was updated successfully, but these errors were encountered: