mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
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:
parent
a0f2536e8b
commit
e891221cc1
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue