Commit cf5a797
Add response stub to mock request object
The HTTPX::ErrorResponse constructor calls request.response during
initialization. Add this method stub to the instance_double to prevent
the test from failing with:
received unexpected message :response with (no args)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 537816a commit cf5a797
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments