Commit 69404b4
committed
fix: resolve test failures from upstream merge
Fix 16 test failures introduced in merge commit 2641a3f:
1. Add null-check for self.args in check_for_urls (base_coder.py:1644)
- Fixes 15 tests that create Coder with args=None
2. Update gpt_prompts test assertion (test_copypaste_coder.py)
- gpt_prompts is now a property returning PromptObject, not a class attr
- Check behavior (not None, has main_system) instead of identity
3. Simplify tool_call_propagation tests (test_models.py)
- Remove incorrect expectations for base_url/custom_llm_provider
- These params only apply to custom JSON providers, not standard OpenAI
All 613 tests now pass.1 parent eed79a2 commit 69404b4
3 files changed
Lines changed: 13 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
1644 | | - | |
| 1644 | + | |
1645 | 1645 | | |
1646 | 1646 | | |
1647 | 1647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
360 | 353 | | |
361 | 354 | | |
362 | 355 | | |
363 | 356 | | |
364 | 357 | | |
365 | 358 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
378 | 364 | | |
379 | 365 | | |
380 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments