Commit 2c3e9fe
fix(http): guard private httpx attr, fix async comment, fix test mocks
- Wrap resp._request = None in try/except AttributeError for forward
compat with future httpx versions
- Fix async_rest.py comment: BoundSyncStream → BoundAsyncStream
- Fix test_task_runner_coverage.py mocks: use mock_http_resp.data
instead of dead mock_http_resp.resp (AuthorizationException now
reads .data, not .resp.text)
Follow-up to #395
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c33f9b8 commit 2c3e9fe
3 files changed
Lines changed: 21 additions & 21 deletions
File tree
- src/conductor/client/http
- tests/unit/automator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | 319 | | |
323 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
328 | 326 | | |
329 | 327 | | |
330 | 328 | | |
| |||
342 | 340 | | |
343 | 341 | | |
344 | 342 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | 343 | | |
349 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
350 | 348 | | |
351 | 349 | | |
352 | | - | |
353 | | - | |
354 | 350 | | |
355 | 351 | | |
356 | 352 | | |
| |||
420 | 416 | | |
421 | 417 | | |
422 | 418 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 419 | | |
427 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
428 | 424 | | |
429 | 425 | | |
430 | | - | |
431 | | - | |
432 | 426 | | |
433 | 427 | | |
434 | 428 | | |
| |||
0 commit comments