opencompletion.com/tests/functional
Claude 09ccba41f6
Fix streaming protocol test failures
Fixed 3 failing tests by correcting mock setup:

1. test_bedrock_streaming_protocol: Changed from mocking app.get_s3_client
   to mocking boto3.client directly, since chat_claude creates its own client

2. test_streaming_content_accumulation: Fixed Message mock patching and
   changed query mock to return mock_message instead of None

3. test_error_handling_in_streaming: Fixed Message mock patching, changed
   query mock to return mock_message, and updated assertion to check for
   chat_message event instead of message_chunk with is_complete flag

All streaming protocol tests now pass.
2025-11-10 20:19:32 +00:00
..
test_activity_flows.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_battleship_game_flow.py Fix battleship tests to use activity.execute_processing_script 2025-11-10 19:54:04 +00:00
test_battleship_pre_script.py modified: activity_yaml_validator.py 2025-08-11 12:39:42 -04:00
test_guarded_ai.py Fix test failures in guarded_ai test files 2025-11-10 19:50:06 +00:00
test_streaming_protocol.py Fix streaming protocol test failures 2025-11-10 20:19:32 +00:00