mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-25 23:14:17 +02:00
Most pins in tests/server/providers/proxy/ were added only to keep tests green while unpinning changed which protocol era the proxy's backend connection used, not because the test's subject cared about the era. With proxy era-mirroring (#4573) landed, a front client on auto correctly moves the whole chain to the modern protocol, so plain tool/resource/prompt calls through a proxy no longer need a pin. Kept pins fall into three buckets, each commented at the call site: tests whose subject is genuinely handshake-only (sampling, roots, elicitation push-forwarding, ping, initialize handshake mechanics); tests whose backend is a directly-constructed ProxyClient/StatefulProxyClient, which always defaults to legacy independent of the front era; and two tests left pinned with a TODO documenting a real defect this audit surfaced (upstream instructions not forwarded to a modern-era client through a proxy, and ProxyProvider.list_tools leaking an unwrapped connection error instead of an MCPError). |
||
|---|---|---|
| .. | ||
| local_provider_tools | ||
| openapi | ||
| proxy | ||
| __init__.py | ||
| test_addressing.py | ||
| test_base_provider.py | ||
| test_fastmcp_provider.py | ||
| test_local_provider.py | ||
| test_local_provider_prompts.py | ||
| test_local_provider_resources.py | ||
| test_prefab_roundtrip.py | ||
| test_prefab_synthesis.py | ||
| test_skills_provider.py | ||
| test_skills_vendor_providers.py | ||
| test_transforming_provider.py | ||