litellm/tests/integration/mcp
yuneng-jiang 2cbaa4c9b5
test(mcp): stop a comprehension variable from shadowing the body() helper (#42906)
test_malformed_bodies_missing_users_and_foreign_servers_are_rejected used
`body` as a comprehension variable and then called the module-level `body()`
helper a few lines later. CPython 3.12.2, which the CircleCI integration job
runs, compiles that later call as a local read, so the test raised
UnboundLocalError on every integration-mcp run since #42652. Newer 3.12
patch releases and 3.13 compile it as a global read, which is why it passes
locally.

Renaming the comprehension variable makes both reads unambiguous.
2026-09-24 11:56:56 -07:00
..
test_mcp_access_matrix.py test(integration): add MCP gateway coverage wave 1 with a dedicated mcp shard and proxy coverage artifact (#42711) 2026-09-23 07:48:46 -07:00
test_mcp_accounting_guardrails.py fix(mcp): keep tool attribution on guardrail-blocked REST calls (#42790) 2026-09-23 15:40:56 -07:00
test_mcp_credentials.py test(integration): add MCP gateway coverage wave 1 with a dedicated mcp shard and proxy coverage artifact (#42711) 2026-09-23 07:48:46 -07:00
test_mcp_lifecycle.py fix(key_management): invalidate cached object permissions on key update (#36719) 2026-09-23 15:55:09 -07:00
test_mcp_llm_endpoints.py fix(anthropic): preserve MCP tool results in the non-Anthropic Messages bridge (#42783) 2026-09-23 13:03:25 -07:00
test_mcp_management.py fix(mcp): reject duplicate MCP server names and aliases (#42791) 2026-09-23 17:50:27 -07:00
test_mcp_oauth_flows.py fix(mcp): forward caller bearer on REST oauth_delegate tool calls (#42787) 2026-09-23 14:27:54 -07:00
test_mcp_protocol_errors.py test: add extension and browser integration contracts 2026-09-16 13:15:53 -07:00
test_mcp_resilience.py test(integration): add MCP gateway coverage wave 1 with a dedicated mcp shard and proxy coverage artifact (#42711) 2026-09-23 07:48:46 -07:00
test_mcp_transports.py test(integration): add MCP gateway coverage wave 1 with a dedicated mcp shard and proxy coverage artifact (#42711) 2026-09-23 07:48:46 -07:00
test_mcp_user_env_vars.py test(mcp): stop a comprehension variable from shadowing the body() helper (#42906) 2026-09-24 11:56:56 -07:00
test_oauth_configuration.py test(mcp): restore scoped execution and credential isolation regressions 2026-09-19 16:41:31 -07:00