mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test: give unchanged pins fixtures a head commit
This commit is contained in:
parent
4ede030b08
commit
855c163e3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue