From a13528e5e2713ebeb41471bb37f3c20faf8f0b29 Mon Sep 17 00:00:00 2001 From: Will Date: Fri, 10 Jul 2026 20:14:17 +0100 Subject: [PATCH] test(guardrails): remove test docstring --- .../proxy/guardrails/test_guardrail_endpoints.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/test_litellm/proxy/guardrails/test_guardrail_endpoints.py b/tests/test_litellm/proxy/guardrails/test_guardrail_endpoints.py index d14464ece58..cf82b7e20b9 100644 --- a/tests/test_litellm/proxy/guardrails/test_guardrail_endpoints.py +++ b/tests/test_litellm/proxy/guardrails/test_guardrail_endpoints.py @@ -838,12 +838,6 @@ async def test_create_guardrail_endpoint( async def test_create_guardrail_config_error_returns_400_not_500( mocker, mock_guardrail_registry, mock_in_memory_handler ): - """ - A ValueError raised while initializing a newly created guardrail is a - client-correctable config error and must surface as a 400. Pre-fix, the - inner 400 HTTPException was caught by the outer `except Exception` and - re-raised as a 500. - """ mock_prisma_client = mocker.Mock() mock_in_memory_handler.initialize_guardrail.side_effect = ValueError("invalid config")