You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cdb0875
Browse filesBrowse the repository at this point in the historyBrowse files
The three tests converted to in-memory transport in the previous commit
weren't testing WebSocket behavior anymore — they were sitting in
test_ws.py with misleading names.
- test_ws_client_happy_request_and_response: deleted. Duplicates
tests/client/test_client.py::test_read_resource.
- test_ws_client_timeout: deleted. tests/issues/test_88_random_error.py
covers the same session-recovery-after-timeout scenario more
thoroughly (uses read_timeout_seconds and an anyio.Event to release
the slow handler cleanly).
- test_ws_client_exception_handling: moved to test_client.py as
test_read_resource_error_propagates. This was the only unique
behavior — nothing else asserts that a handler-raised MCPError
reaches the client with its error code intact.
test_ws.py now contains only what it says on the tin.
0 commit comments