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

restore scheme fixture for tests

This commit is contained in:
Thomas Grainger
2024-01-23 12:12:05 +00:00
parent a093fb177d
commit c6667ac56c

View File

@@ -17,6 +17,12 @@ http = pytest.importorskip("tornado.httpclient")
supports_raise_error = tornado.version_info >= (4,) supports_raise_error = tornado.version_info >= (4,)
@pytest.fixture(params=["https", "http"])
def scheme(request):
"""Fixture that returns both http and https."""
return request.param
@pytest.fixture(params=["simple", "curl", "default"]) @pytest.fixture(params=["simple", "curl", "default"])
def get_client(request): def get_client(request):
if request.param == "simple": if request.param == "simple":