fastmcp/tests/server/auth/providers
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
..
__init__.py Add WorkOS and Azure OAuth providers (#1550) 2025-08-20 16:22:03 -04:00
test_auth0.py chore: Set redirect_path default in function (#1833) 2025-09-15 18:33:44 -04:00
test_aws.py Add AWS Cognito OAuth Provider for Enterprise Authentication (#1873) 2025-09-25 11:08:45 -04:00
test_azure.py Prevent confused deputy attacks in OAuth proxy (#2056) 2025-10-11 10:53:54 -04:00
test_descope.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_github.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_google.py Fix OAuth resource URL handling and WWW-Authenticate header (#1706) 2025-09-02 15:14:05 -04:00
test_introspection.py Add RFC 7662 token introspection provider (#2074) 2025-10-16 10:57:06 -04:00
test_scalekit.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_supabase.py Add supabase auth (#1997) 2025-10-08 20:27:55 -04:00
test_workos.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00