From 7b6d6affcf3519dac4265b448d292ee96636ac95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Fri, 5 Jan 2024 08:36:13 +0100 Subject: [PATCH] tests: Remove unused fixture --- tests/test_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_middleware.py b/tests/test_middleware.py index e7ccc83..4a2fba3 100644 --- a/tests/test_middleware.py +++ b/tests/test_middleware.py @@ -93,7 +93,7 @@ async def test_view(request: Request) -> dict: @pytest.mark.parametrize('value', bad_uuids) @pytest.mark.parametrize('app', [default_app, transformer_app, generator_app]) -async def test_non_uuid_header(client, caplog, value, app): +async def test_non_uuid_header(caplog, value, app): """ We expect the middleware to ignore our request ID and log a warning when the request ID we pass doesn't correspond to the uuid4 format.