Open
Description
Here's my example test file:
import docker
import vcr
#@vcr.use_cassette()
def test_docker_images():
env = docker.from_env()
images = env.images.list()
assert images
The test works fine, but if I'll uncomment the @vcr.use_cassette()
, it will hang forever.
Environment (Ubuntu, python 3.7):
attrs==19.3.0
certifi==2020.4.5.1
chardet==3.0.4
docker==4.2.0
idna==2.9
importlib-metadata==1.6.0
more-itertools==8.2.0
multidict==4.7.5
packaging==20.3
pluggy==0.13.1
py==1.8.1
pyparsing==2.4.7
pytest==5.4.1
PyYAML==5.3.1
requests==2.23.0
six==1.14.0
urllib3==1.25.9
vcrpy==4.0.2
wcwidth==0.1.9
websocket-client==0.57.0
wrapt==1.12.1
yarl==1.4.2
zipp==3.1.0
The examples from the documentation are working fine.
Edit: tested on Windows, and the same example works as expected, the test runs and cassette is created.