diff --git a/tests/unit/test_cost_map_guard.py b/tests/unit/test_cost_map_guard.py index d553237bbbe..0a19903da59 100644 --- a/tests/unit/test_cost_map_guard.py +++ b/tests/unit/test_cost_map_guard.py @@ -364,7 +364,7 @@ def test_relocated_pins_keep_the_same_validation(tmp_path: Path, pins_path: str, destination.parent.mkdir(parents=True, exist_ok=True) (tmp_path / guard.PINS_PATH).rename(destination) destination.write_text(pins) - head: Final = _git_commit(tmp_path, "relocate pins") + head: Final = _commit_code_only(tmp_path, "relocate pins") result: Final = _run_guard(tmp_path, base, head, "litellm_fix_pricing") assert result.returncode == (0 if pins == PINS else 1), result.stdout + result.stderr