test: give unchanged pins fixtures a head commit

This commit is contained in:
Devin AI 2026-11-10 19:49:45 +00:00
parent 4ede030b08
commit 855c163e3a

View file

@ -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