vcrpy icon indicating copy to clipboard operation
vcrpy copied to clipboard

Automatically mock your HTTP interactions to simplify and speed up testing

Results 197 vcrpy issues
Sort by recently updated
recently updated
newest added

Declarative is always preferable to imperative, and setuptools is no exception, [recommending it themselves](https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#:~:text=This%20approach%20allows%20automation%20scenarios%20and%20can%20reduce%20boilerplate%20code.). Classical `setup.py` are not hard-deprecated, but they are considered a bad-practice if there is not a...

When uploading files with aiohttp, the following error occurs. Suspect [commit](https://github.com/kevin1024/vcrpy/commit/3b41f0ede302312895a5143514f0343302ba39aa). Error ``` TypeError: cannot pickle '_io.BufferedReader' object ``` aiohttp code to reproduce: ```python async def upload_file(): async with aiohttp.ClientSession()...

bug

I use pytest-recording, to mimic my http requests for testing. When switching to urllib3 to run the queries I encounter the following exception. `AttributeError: 'VCRHTTPResponse' object has no attribute 'json'`...

need info

With v4.2.1 I'm seeing a lot of (incorrect I think) "Appending request" logs - from code inspection I think this log should be moved down to https://github.com/kevin1024/vcrpy/blob/master/vcr/cassette.py#L252 after the previous...

enhancement

## Context Per discussion here: _Originally posted by @salomvary in https://github.com/kevin1024/vcrpy/issues/533#issuecomment-1269519939_ CannotOverwriteExistingCassetteException can be raised along with 'no matchers failed' as the message details. In many cases, setting `vcr.allow_playback_repeats` for...

enhancement

Running mypy on code that uses the latest version of `vcrpy` fails with the error message "module is installed, but missing library stubs or py.typed marker". Please add type annotations...

enhancement

Between myself and another maintainer of our downstream project, we've tested Python 3.8 & 3.9 with both OpenSSL 1.1.1 and 3.0.2, using vcrpy 5.1.0 and a forcibly upgraded urllib3 2.0.6....

While working on #771, I noticed that Sphinx is logging a warning on builds because the format being used for `intersphinx_mapping` is deprecated and will be removed in the next...

**Issue** There is an issue with aiohttp, when a developer sends a json kwarg it is overwritten by the data kwarg. In aiohttp the data kwarg is set to None...

Hello - thanks for this great library ! I spotted an issue with 'data' vs 'json' in `aiohttp_stubs` `vcr_request`. When only json is present, vcrpy fails to record The default...