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
Jeremiah Lowin
e8673b4d8b
Fix Python 3.13 websockets deprecation warning ( #1949 )
2025-09-29 15:24:20 -04:00
nate nowack
04831b75c2
optimize test suite ( #1893 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-22 20:07:04 -04:00
William Easton
fe4f31c2c7
Enable more type checking rules ( #1775 )
2025-09-07 11:11:44 -04:00
Jeremiah Lowin
87e103222e
Improve redirect handling to address 307's ( #1387 )
2025-08-08 11:55:30 -04:00
Jeremiah Lowin
a52c28c319
Ensure tests use stateless mode
2025-07-03 19:55:49 -04:00
Jeremiah Lowin
ebc721bdf1
Fix tests
2025-06-28 20:19:08 -04:00
Jeremiah Lowin
ecfbf5de00
Support implicit Elicitation acceptance
2025-06-28 20:15:23 -04:00
Jeremiah Lowin
d8dc28b9b2
Add structured content & update almost all tests
2025-06-27 15:40:52 -04:00
Jeremiah Lowin
987dd85826
Update test_streamable_http.py
2025-06-22 20:08:36 -04:00
Jeremiah Lowin
ffe0c92d63
Alias streamable-http as http
2025-06-22 20:00:11 -04:00
Jeremiah Lowin
76e3df1bc1
Add "http" as an alias for streamable-http
2025-06-22 18:55:07 -04:00
Jeremiah Lowin
18ae625fef
Update docs and test
2025-06-20 13:06:48 -04:00
Alexander Seeliger
ec24a07060
chore: fix format
2025-06-15 18:25:55 +02:00
Alexander Seeliger
68567e5b59
chore: revert change
2025-06-15 18:12:14 +02:00
Alexander Seeliger
64bf0a4112
chore: clean up tests
2025-06-15 18:11:43 +02:00
Alexander Seeliger
bdc3e395e1
fix: missing related_request_id for report_progress
2025-06-15 17:47:09 +02:00
Jeremiah Lowin
a1955eb5cd
Remove old client test; ensure server starts on every test
2025-06-14 14:16:18 -04:00
Jeremiah Lowin
c9c10a55d8
Try expanding timeout because test error
2025-06-14 10:46:20 -04:00
Jeremiah Lowin
099d340208
Update tests for prompts
2025-06-04 16:37:41 -04:00
Jeremiah Lowin
18615bc48b
Remove empty parens
2025-06-04 15:41:28 -04:00
Jeremiah Lowin
d7824f1414
Move nested server
2025-06-01 09:35:42 -04:00
Jeremiah Lowin
8fb709c98c
Simplify code for running servers in processes
2025-06-01 09:35:06 -04:00
Jeremiah Lowin
f1e3713fc6
Update test typing
2025-05-31 20:41:18 -04:00
Jeremiah Lowin
a0e69a4cb2
Skip timeout tests on windows
2025-05-20 09:33:17 -04:00
Jeremiah Lowin
c3e9bdb49e
Add lifespan property to app
2025-05-16 10:51:48 -04:00
Jeremiah Lowin
837d4c407d
Add timeout support to client ( #455 )
...
* Add timeouts kwargs
* Add timeout support
* Fix windows handling and docs
* Update client.mdx
* Windows tests
* Update test_sse.py
* Update test_sse.py
* Update test_sse.py
* Update test_sse.py
* Fix windows
2025-05-14 20:50:24 -04:00
Jeremiah Lowin
38ae8de404
Add test for SHTTP
2025-05-13 11:06:40 -04:00
Jeremiah Lowin
b6d1b3f52f
Deprecate transport-specific methods
2025-05-10 11:34:47 -04:00
Jeremiah Lowin
a0939e57fe
test nested servers
2025-05-09 17:27:22 -04:00
Jeremiah Lowin
cabe668e41
Incorporate streamable HTTP server changes
2025-05-07 12:13:17 -04:00