Closed mzealey closed 11 months ago
seems like your test framework is not mocking the response correctly. You can't use the same mocks from botocore as aiobotocore is async and uses aiohttp
going to close, your mock for content needs to match the AioAWSRequest: https://github.com/aio-libs/aiobotocore/blob/88a43098b1194bf759581acc710ad5bdbdd99a96/aiobotocore/awsrequest.py#L18
Describe the bug
On aiobotocore==2.5.0, ported directly from botocore functionality:
produces the following failure:
Checklist
pip check
passes without errorspip freeze
resultspip freeze results
Environment:
python:3.11-buster
Additional context Add any other context about the problem here.