mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
aiohttp: Fix tests
This commit is contained in:
committed by
Kevin McCarthy
parent
be53091ae5
commit
69cecdbda7
@@ -180,9 +180,8 @@ def test_params_same_url_distinct_params(tmpdir, scheme):
|
|||||||
|
|
||||||
other_params = {"other": "params"}
|
other_params = {"other": "params"}
|
||||||
with vcr.use_cassette(str(tmpdir.join("get.yaml"))) as cassette:
|
with vcr.use_cassette(str(tmpdir.join("get.yaml"))) as cassette:
|
||||||
response, cassette_response_text = get(url, output="text", params=other_params)
|
with pytest.raises(vcr.errors.CannotOverwriteExistingCassetteException):
|
||||||
assert "No match for the request" in cassette_response_text
|
get(url, output="text", params=other_params)
|
||||||
assert response.status == 599
|
|
||||||
|
|
||||||
|
|
||||||
def test_params_on_url(tmpdir, scheme):
|
def test_params_on_url(tmpdir, scheme):
|
||||||
|
|||||||
Reference in New Issue
Block a user