litellm/tests/test_litellm/proxy/_experimental/mcp_server
Julio Quinteros Pro ace49b18d3 fix(tests): update MCP server test mocks to match production API
The tests were mocking `filter_server_ids_by_ip` but the production
code in server.py now calls `filter_server_ids_by_ip_with_info` which
returns a (server_ids, blocked_count) tuple. Update all 8 mock sites
to use the correct method name and return signature.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 13:11:57 -03:00
..
auth Agents - assign tools (#22064) 2026-02-25 11:44:30 -08:00
guardrail_translation
test_discoverable_endpoints.py fix: Missing OAuth session state. Please retry 2026-02-24 14:22:38 +05:30
test_jwt_mcp_enforcement.py fix(tests): update MCP tests broken by user permissions commit (#21462) 2026-02-19 02:09:11 -03:00
test_jwt_mcp_simple.py
test_mcp_cost_calculator.py
test_mcp_custom_fields.py
test_mcp_debug.py
test_mcp_discovery.py
test_mcp_metadata_preservation.py
test_mcp_server_manager.py Fix: skip health check for MCP integration with passthrough token authentication 2026-02-24 12:05:37 +05:30
test_mcp_server.py fix(tests): update MCP server test mocks to match production API 2026-02-26 13:11:57 -03:00
test_mcp_stale_session.py
test_oauth2_token_cache.py
test_openapi_to_mcp_generator.py Add test for base url extraction and migration 2026-02-20 13:47:44 +05:30
test_rest_endpoints.py
test_semantic_tool_filter.py
test_ui_session_utils.py