-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aiohttp.test_utils.make_mocked_request should accept regular dict as headers [easy] #1068
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently
aiohttp.helpers.make_mocked_request
doesn't supportheaders
value type other than CIMultiDict. If you try to pass regulardict
asheaders
and try to use such mocked request you will get error similar to:This can be easily fixed by adding here something like:
plus add test for this case.
The text was updated successfully, but these errors were encountered: