1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Use mockbin to fix redirect test

This commit is contained in:
Jair Henrique
2020-07-15 14:00:28 -03:00
committed by Kevin McCarthy
parent 535efe1eb9
commit 2f53776ffb

View File

@@ -250,7 +250,7 @@ def test_aiohttp_test_client_json(aiohttp_client, tmpdir):
def test_redirect(aiohttp_client, tmpdir):
url = "https://httpbin.org/redirect/2"
url = "https://mockbin.org/redirect/302/2"
with vcr.use_cassette(str(tmpdir.join("redirect.yaml"))):
response, _ = get(url)