fastmcp/tests/server/http
Jeremiah Lowin 266c129b62
Test lifespan fires once per process over HTTP (#4480)
* Add regression test: HTTP lifespan fires once per process across sessions

* Drop redundant enter-count assertion at teardown (CodeQL)

* Assert session-manager lifespan entry directly, not user-lifespan count
2026-07-17 17:02:26 -04:00
..
__init__.py clean up test inits 2025-05-31 19:32:08 -04:00
test_bearer_auth_backend.py Add loq file size limits and clean up type ignores (#2859) 2026-01-13 07:29:12 -05:00
test_custom_routes.py Internal refactor of MCP handlers (#2005) 2025-10-05 08:45:10 -04:00
test_http_auth_middleware.py Forward-port HTTP host guard compatibility (#4474) 2026-07-08 20:55:56 -04:00
test_http_dependencies.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_http_middleware.py fix: remove stale ty:ignore directives for ty 0.0.26 (#3684) 2026-03-28 20:02:40 -04:00
test_lifespan_once_per_process.py Test lifespan fires once per process over HTTP (#4480) 2026-07-17 17:02:26 -04:00
test_session_idle_timeout.py Drive the FastMCP lifespan through the SDK session manager (#4446) 2026-07-07 07:49:16 -04:00
test_session_owner_enforcement.py Drive the FastMCP lifespan through the SDK session manager (#4446) 2026-07-07 07:49:16 -04:00
test_stale_access_token.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_streamable_http_shutdown.py fix(http): terminate active streamable-HTTP transports before lifespan shutdown (#4118) 2026-05-10 10:58:13 -04:00