From 720dbc85481f6d8d56bbddf870a17d0adad4c466 Mon Sep 17 00:00:00 2001 From: L4XB Date: Wed, 23 Sep 2026 20:39:17 +0200 Subject: [PATCH] test(aporia): name the unreadable-verdict cases The parametrized bodies showed up as body0 to body4 in a failure list --- .../test_litellm/proxy/guardrails/guardrail_hooks/test_aporia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_aporia.py b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_aporia.py index 58272acfa11..86077db7e4e 100644 --- a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_aporia.py +++ b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_aporia.py @@ -68,6 +68,7 @@ async def test_an_intervention_is_not_forwarded_unchanged(action: str): @pytest.mark.parametrize( "body", [{"action": "BLOCK"}, {"action": "blocked"}, {"action": ""}, {"action": None}, {}], + ids=["BLOCK", "blocked", "empty", "null", "missing"], ) async def test_a_verdict_it_cannot_read_is_not_taken_for_permission(body: dict[str, str | None]): guardrail, _ = _guardrail(body)