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
trafficstars

Hi, I wanted to know if I could name the cassettes based on the url it will be calling through the test functions? Since I have a chain of URLs...

Hello! Thank you for the vrc library - It makes testing our multi-service application /possible/. In one of our tests, we want to ensure that application A can upload a...

Hey there, thanks for the great project! I'm the maintainer of [notion-sdk-py](https://github.com/ramnes/notion-sdk-py) and when I update vcrpy to 6.0.2 for our tests, I can't use the cassettes it creates anymore....

I want to use vcr for debugging and I would like to replay a fixed number of interactions and record the rest. If I am not mistaken currently all interactions...

Recording ends with: ``` File "/root/.local/share/virtualenvs/foobar/lib/python3.11/site-packages/requests_cache/session.py", line 183, in request return super().request(method, url, *args, headers=headers, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.local/share/virtualenvs/foobar/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs)...

With vcrpy >= 6.0.0, some tests in https://github.com/scrapinghub/python-scrapinghub started failing on PyPy. If you clone that repo and run: ``` tox -e pypy310-json -- tests/client/test_activity.py::test_activity_iter ``` The test fails with...

It appears that the `allow_playback_repeats` option doesn't work on record (though I'm not sure if that was intended). The following test will record two requests when first creating the cassette....