Commit c3fd466
Fix macOS test failures by resolving paths in test assertions
The tests were failing on macOS due to symlink resolution differences. macOS has /var symlinked to /private/var, so tempfile.TemporaryDirectory() creates paths like /var/folders/... but ContextOptimizer resolves them to /private/var/folders/...
Fixed by calling .resolve() on base_path in the three affected tests before making assertions, ensuring path comparison works correctly across platforms.
Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com>1 parent bb22283 commit c3fd466
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
| 656 | + | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
| |||
0 commit comments