From c6667ac56caa189c40bb8632e2c0b1aef4b6fce5 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 23 Jan 2024 12:12:05 +0000 Subject: [PATCH] restore scheme fixture for tests --- tests/integration/test_tornado.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/test_tornado.py b/tests/integration/test_tornado.py index 0ba48973..eed090b9 100644 --- a/tests/integration/test_tornado.py +++ b/tests/integration/test_tornado.py @@ -17,6 +17,12 @@ 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"]) def get_client(request): if request.param == "simple":