vcrpy
vcrpy copied to clipboard
Automatically mock your HTTP interactions to simplify and speed up testing
This issue is about adding a stub that wraps the [https://pypi.org/project/grpcio/](url) package to support cassettes for GRPC interactions. Submitting this issue to see whether a contribution for supporting such a...
When I'm trying to allow Redis localhost connections, I have to manually add "::1" to the list of allowed hosts, despite ignore_localhost
I'm using vcrpy 4.0.2 with requests 2.20.1 (urllib 1.24, Python 3.6.10, OpenSUSE 15.1). My goal is to cache REST replies from a database. All works perfect when I use an...
This is working for `urllib3` 1.16 but failed for 1.17 vcrpy version: 1.10.0 and 1.10.2 ``` py self = key_file = None, cert_file = None, cert_reqs = None, ca_certs =...
This code prints ("A") but never gets to ("B") ``` import requests import vcr def download_file(uri): resp = requests.get(uri, stream=True) resp.raise_for_status() for chunk in resp.iter_content(chunk_size=None): print("READ", chunk[0:10]) download_file("https://www.example.com") print("A") with...
hi, i'm interested in using vcrpy for recording our http interactions across functions. right now it looks like all of the patching functionality can only be activated by `CassetteContextDecorator`, so...
I figured out that a problem occurs, when I mix requests where the URL can be resolved and requests where the URL cannot be resolved in one test (cassette) or...
Fix patching of is_connection_dropped from urllib3 With old patching method, urllib3 never detected TCP connections that were closed by the server side. For example, persistent HTTP connection that were closed...
In saleor, vcr is used and produced names breaks because windows doesnot accept some characters [, ] :, etc... https://github.com/saleor/saleor/pull/9086 Do you have a workaround ? Or an idea to...
I'm trying to remove access tokens from the response body of some http transactions that are being recorded so that I can check the sanitized cassettes into source control so...