From e891221cc1d191be227c78282a4f0c0a0ca34c12 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 19:58:03 +0000 Subject: [PATCH] test(mcp): annotate premium check stub for test quality gate Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../proxy/_experimental/mcp_server/test_mcp_server_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server_manager.py b/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server_manager.py index 9edfe9b0291..df38684c5e0 100644 --- a/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server_manager.py +++ b/tests/test_litellm/proxy/_experimental/mcp_server/test_mcp_server_manager.py @@ -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(