kevin1024 / vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing
MIT License
2.72k stars 388 forks source link

aiohttp: Allow both `data` and `json` arguments #624

Open leorochael opened 3 years ago

leorochael commented 3 years ago

If at least one of them is None.

Previously, a data=None parameter would cause the json=... parameter to be ignored, resulting in an empty request body payload on the cassette.

Fixes #623