Skip to content

Commit 20e6542

Browse files
author
Dylan Huang
committed
fix stable json test
1 parent 61c7328 commit 20e6542

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ def test_stable_json():
339339
messages=[Message(role="user", content="What is 2+2?"), Message(role="assistant", content="2+2 equals 4.")],
340340
ground_truth="4",
341341
)
342-
stable_json = row.model_dump_json()
343-
stable_json2 = row2.model_dump_json()
342+
stable_json = row._stable_json()
343+
stable_json2 = row2._stable_json()
344344
assert stable_json == stable_json2
345345
assert "created_at" not in stable_json
346346
assert "execution_metadata" not in stable_json

0 commit comments

Comments
 (0)