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
Simplify integration test to use IOError instead of mocking HTTPx errors
Instead of trying to create complex mock HTTPX::ErrorResponse and
HTTPX::HTTPError objects (which require many internal stubs), simply
raise an IOError to simulate a connection failure.
StreamRequest catches any error during streaming and retries, so the
specific error type doesn't matter for testing the retry behavior.
This approach is much simpler and more maintainable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments