fastmcp/tests
Jeremiah Lowin 3321644ad3
Replace subprocess tests with in-process async servers (#2006)
* Use anyio as testing backend

* Remove asyncio markers

* Update streamable http tests

* Replace all subprocess tests

* Replace anyio task groups with asyncio context managers in tests

- Convert run_server_async from anyio task group pattern to asyncio.create_task with async context manager
- Remove task_group fixture from conftest
- Update all test fixtures to use async with run_server_async pattern
- Remove TaskGroup imports from all test files
- Tests now work with pytest-asyncio instead of pytest-anyio

* Update test_github_provider_integration.py
2025-10-19 10:47:54 -04:00
..
cli Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
client Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
contrib feat: Add title, annotations and meta to mixin decorators 2025-10-10 14:23:02 +05:30
deprecated feat: introduce fastmcp.json configuration system (#1517) 2025-08-19 16:06:04 -04:00
experimental Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
integration_tests Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
prompts Enable more type checking rules (#1775) 2025-09-07 11:11:44 -04:00
resources Allow direct instantiation of Prompt and Resource classes (#2031) 2025-10-08 21:06:41 -04:00
server Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
tools Add Pydantic-compatible input validation (#2073) 2025-10-14 11:49:30 -07:00
utilities Implement icon support (#2121) 2025-10-17 17:28:08 -04:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py optimize test suite (#1893) 2025-09-22 20:07:04 -04:00
test_examples.py Cleanup content conversion 2025-09-06 17:32:33 -05:00
test_mcp_config.py optimize test suite (#1893) 2025-09-22 20:07:04 -04:00