Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test(proxy): document why the release info route check asserts by not raising

kerry3777b0b0d939
diff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.py
index ff9995df1ca..87bf4595af5 100644
--- a/tests/test_litellm/proxy/auth/test_route_checks.py
+++ b/tests/test_litellm/proxy/auth/test_route_checks.py
@@ -127,7 +127,7 @@ def test_user_banner_read_open_to_non_admin_roles(role):
LitellmUserRoles.INTERNAL_USER_VIEW_ONLY.value,
],
)
-def test_latest_release_info_read_open_to_non_admin_roles(role):
+def test_latest_release_info_read_open_to_non_admin_roles(role): # test-quality-ok: allowed path returns None, not raising is the observable
user_obj = LiteLLM_UserTable(
user_id="test_user",
user_email="[email protected]",