mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
test(aporia): name the unreadable-verdict cases
The parametrized bodies showed up as body0 to body4 in a failure list
This commit is contained in:
parent
3105fded3f
commit
720dbc8548
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue