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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: remove skip decorators from m2m tests now that oauth2_flow is set
joereyna0c1739390bd5
diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/test_rest_endpoints.py b/tests/test_litellm/proxy/_experimental/mcp_server/test_rest_endpoints.pyindex 3a01fe19edb..3acbe5465f2 100644--- a/tests/test_litellm/proxy/_experimental/mcp_server/test_rest_endpoints.py+++ b/tests/test_litellm/proxy/_experimental/mcp_server/test_rest_endpoints.py@@ -158,7 +158,6 @@ class TestExecuteWithMcpClient:@pytest.mark.asyncio- @pytest.mark.skip(reason="PR #23187 changed has_client_credentials to require explicit oauth2_flow opt-in, but NewMCPServerRequest and _execute_with_mcp_client were not updated - needs fix")async def test_m2m_credentials_forwarded_to_server_model(self, monkeypatch):"""M2M OAuth credentials (client_id, client_secret) from the nested``credentials`` dict must be forwarded to the MCPServer model so that@@ -213,7 +212,6 @@ class TestExecuteWithMcpClient:assert server.has_client_credentials is True@pytest.mark.asyncio- @pytest.mark.skip(reason="PR #23187 changed has_client_credentials to require explicit oauth2_flow opt-in, but NewMCPServerRequest and _execute_with_mcp_client were not updated - needs fix")async def test_m2m_drops_incoming_oauth2_headers(self, monkeypatch):"""For M2M OAuth servers the incoming Authorization header (which carriesthe litellm API key) must NOT be forwarded as extra_headers — otherwise