litellm/tests/integration/_support
Yuneng Jiang 9f79a59a41
test(mcp): migrate the mcp test helpers to the mcp 2.x MCPServer API
pyproject pins mcp>=2.2.0,<3, where FastMCP was renamed to MCPServer and
stateless_http, json_response, transport_security, host and port moved off
the constructor onto streamable_http_app() and run(). The two helpers still
imported mcp.server.fastmcp, so every module reaching them died at collection
and integration-extensions went red on the release candidate.

This ports the helpers verbatim from main, where the same migration already
landed in 479360ae87 after rc/1.103.0 was cut. Only the two helper files are
taken; the rest of that commit restores unrelated test surface.

Collection on the four affected modules: 4 errors and 0 tests before, 0
errors and 6 tests after.
2026-09-19 19:09:46 -07:00
..
__init__.py test: add CircleCI integration contract foundation 2026-09-14 03:30:52 -07:00
asgi.py test: add extension and browser integration contracts 2026-09-16 13:15:53 -07:00
browser_state.py test: add extension and browser integration contracts 2026-09-16 13:15:53 -07:00
client.py test(integration): cover off-peak pricing on a live proxy 2026-09-19 00:10:22 +00:00
database.py test: add CircleCI integration contract foundation 2026-09-14 03:30:52 -07:00
generation.py fix(tests): resolve the integration support package without run.py's PYTHONPATH 2026-09-15 21:10:08 -07:00
manifest.py test(integration): move scripted-provider cost suite into cost shard 2026-09-19 00:16:12 +00:00
mcp.py test(mcp): migrate the mcp test helpers to the mcp 2.x MCPServer API 2026-09-19 19:09:46 -07:00
process.py test: cover provider wire contracts, streaming and recovery 2026-09-16 12:48:30 -07:00
proxy.py test: cover persisted updates and warmed authorization policies 2026-09-14 04:20:06 -07:00
redis_process.py test: cover provider wire contracts, streaming and recovery 2026-09-16 12:48:30 -07:00
sigv4.py test: cover provider wire contracts, streaming and recovery 2026-09-16 12:48:30 -07:00
upstream.py test(integration): drive cost tracking from literal request/response data 2026-09-19 04:04:40 +00:00
wire.py test: cover provider wire contracts, streaming and recovery 2026-09-16 12:48:30 -07:00