claude-code-sdk-python/tests
Kashyap Murali a50b134ecf
Fix failing tests for control protocol implementation
- Update test mocks to handle control protocol initialization
- Fix interrupt test to check for control requests via write() instead of interrupt()
- Add control protocol support to mock_receive functions in streaming tests
- Ensure all tests properly handle init handshake before sending messages
- Fix formatting issues (trailing whitespace, blank lines)

All tests now properly support the new Query/Transport architecture with
bidirectional control protocol communication.
2025-09-01 03:24:02 -07:00
..
conftest.py Initial Python SDK import 2025-06-12 00:16:19 -07:00
test_changelog.py Add changelog and changelog format check (#77) 2025-07-21 10:53:01 -07:00
test_client.py clean up sdk refactor 2025-09-01 03:00:14 -07:00
test_errors.py Initial Python SDK import 2025-06-12 00:16:19 -07:00
test_integration.py clean up sdk refactor 2025-09-01 03:00:14 -07:00
test_message_parser.py Move thinking block parsing from user to assistant messages (#119) 2025-08-19 13:36:12 -07:00
test_streaming_client.py Fix failing tests for control protocol implementation 2025-09-01 03:24:02 -07:00
test_subprocess_buffering.py Fix FastAPI SSE streaming compatibility (fixes #4) 2025-07-01 00:04:50 -07:00
test_transport.py Add support for custom env vars (#131) 2025-08-25 14:02:03 -07:00
test_types.py Add support for plan permission mode (#116) 2025-08-07 13:06:05 -07:00