From 855c163e3abf796a384948cb148eb8ecbcb8c0a3 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 10 Nov 2026 19:49:45 +0000 Subject: [PATCH] test: give unchanged pins fixtures a head commit --- tests/unit/test_cost_map_guard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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