mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
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. |
||
|---|---|---|
| .. | ||
| test_mcp_access_matrix.py | ||
| test_mcp_accounting_guardrails.py | ||
| test_mcp_credentials.py | ||
| test_mcp_lifecycle.py | ||
| test_mcp_llm_endpoints.py | ||
| test_mcp_management.py | ||
| test_mcp_oauth_flows.py | ||
| test_mcp_protocol_errors.py | ||
| test_mcp_resilience.py | ||
| test_mcp_transports.py | ||
| test_mcp_user_env_vars.py | ||
| test_oauth_configuration.py | ||