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

Remove duplicated fixture

This commit is contained in:
Jair Henrique
2023-05-10 18:17:41 -03:00
parent 58329f812b
commit 77da67ef0a
4 changed files with 7 additions and 13 deletions

View File

@@ -34,12 +34,6 @@ def post(url, output="text", **kwargs):
return request("POST", url, output="text", **kwargs)
@pytest.fixture(params=["https", "http"])
def scheme(request):
"""Fixture that returns both http and https."""
return request.param
def test_status(tmpdir, scheme):
url = scheme + "://httpbin.org"
with vcr.use_cassette(str(tmpdir.join("status.yaml"))):