python-sdk/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Otis Cui 1216c53693
fix: reject trailing newline in tool-name and URI-template varname validation (#3076)
Python's $ with re.match also matches just before a single trailing newline, so tool-name validation accepted "name\n" and UriTemplate.parse accepted varnames like "foo\n". Switch both checks to re.fullmatch.

Closes #3084
2026-07-10 12:56:54 +00:00
..
cli Update the v2 status banner and pin spawned environments to the running SDK version (#2834) 2026-06-11 09:41:19 +01:00
client Add the client-side subscriptions/listen driver (#3047) 2026-07-07 14:26:09 +01:00
docs_src docs: replace MkDocs with Zensical (#3073) 2026-07-10 12:48:46 +01:00
examples Add SSE response mode to the 2026 streamable-HTTP server entry (#3001) 2026-06-26 19:09:08 +02:00
interaction Add the client-side subscriptions/listen driver (#3047) 2026-07-07 14:26:09 +01:00
issues Pass InputRequiredResult through the MCPServer prompt and resource pipelines (#3020) 2026-06-29 16:50:58 +01:00
server Share one event loop per test module to stop Windows socketpair churn (#3070) 2026-07-07 13:19:04 +01:00
shared fix: reject trailing newline in tool-name and URI-template varname validation (#3076) 2026-07-10 12:56:54 +00:00
transports Share one event loop per test module to stop Windows socketpair churn (#3070) 2026-07-07 13:19:04 +01:00
types Add a client extension API (#3034) 2026-06-30 21:31:02 +01:00
__init__.py Initial import 2024-09-24 22:04:19 +01:00
conftest.py Share one event loop per test module to stop Windows socketpair churn (#3070) 2026-07-07 13:19:04 +01:00
test_examples.py docs: add a "What's new in v2" page (#3054) 2026-07-02 15:01:30 +01:00
test_types.py Client auto-resolves InputRequiredResult via existing callbacks (SEP-2322) (#2998) 2026-06-26 17:35:23 +02:00