test(mcp): annotate premium check stub for test quality gate

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-08-31 19:58:03 +00:00
parent a0f2536e8b
commit e891221cc1

View file

@ -10915,7 +10915,9 @@ class TestKeyAttachedGuardrailsReachTheMCPPreCallHook:
return None
with (
patch("litellm.proxy.utils._premium_user_check"),
patch( # test-quality-ok: enterprise licensing is orthogonal to the metadata propagation under test
"litellm.proxy.utils._premium_user_check"
),
patch.object(proxy_logging_obj, "pre_call_hook", side_effect=capture_pre_call_hook),
):
await MCPServerManager().pre_call_tool_check(