Skip to content

Commit

Permalink
restore scheme fixture for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Jan 23, 2024
1 parent a093fb1 commit c6667ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/test_tornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit c6667ac

Please sign in to comment.