claude-code-sdk-python/tests
Kashyap Murali 866bdf7929
Fix remaining test failures for control protocol
- Update test_transport.py: disconnect() -> close(), is_connected() -> is_ready()
- Update test_subprocess_buffering.py: receive_messages() -> read_messages()
- Fix test_streaming_client.py edge cases:
  - Add control protocol init to test_double_connect (use side_effect for multiple mocks)
  - Add control protocol init to test_receive_response_list_comprehension
  - Add control protocol init to test_concurrent_send_receive
- All transport method calls now use read_messages() instead of receive_messages()

Test results: 89 of 90 tests passing (1 subprocess test still needs work)
2025-09-01 03:45:59 -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 remaining test failures for control protocol 2025-09-01 03:45:59 -07:00
test_subprocess_buffering.py Fix remaining test failures for control protocol 2025-09-01 03:45:59 -07:00
test_transport.py Fix remaining test failures for control protocol 2025-09-01 03:45:59 -07:00
test_types.py Add support for plan permission mode (#116) 2025-08-07 13:06:05 -07:00