mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
* test(mcp): run the static root path issuer discovery test in-process The test spawned a fresh interpreter with a 60 s deadline to import litellm and the MCP discovery router cold, so on a loaded box it died with subprocess.TimeoutExpired before any assertion ran. The discovery routes bake SERVER_ROOT_PATH into their paths when the module executes, so the test now reloads that one module under the gateway env, restores its namespace afterwards, and asserts on the same four discovery documents. PROXY_BASE_URL now names an origin distinct from the test client's, so the assertions fail when it stops being honored. * test(mcp): type the gateway discovery fixture and its test * test(mcp): mark the registry fill the fixture hands the test --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| mcp_server | ||
| __init__.py | ||