Commit 5cf5743
committed
Fix Python resume_session override test to not require auth
The test_resume_session_sends_overrides_built_in_tool test was passing
through to the real CLI for session.resume, which fails without auth
credentials. Other resume tests in the same file already returned a
fake response for session.resume — this one was missed.
Mock now returns a fake response instead of calling through, matching
the pattern used by the Node.js equivalent and other Python resume tests.1 parent bd75b6d commit 5cf5743
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
220 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments