Skip to content

Commit 086fc6a

Browse files
committed
format
1 parent c9a7ac7 commit 086fc6a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/adapters/test_openai_responses_adapter.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ def test_openai_responses_adapter_with_real_response_simple(snapshot: SnapshotAs
2222
assert len(eval_rows) == 1
2323

2424
# Convert to dict for snapshot testing
25-
eval_rows_dict = [row.model_dump(exclude={"created_at": True, "execution_metadata": True, "messages": {"__all__": {"weight"}}}) for row in eval_rows]
25+
eval_rows_dict = [
26+
row.model_dump(exclude={"created_at": True, "execution_metadata": True, "messages": {"__all__": {"weight"}}})
27+
for row in eval_rows
28+
]
2629

2730
# Assert against snapshot
2831
assert eval_rows_dict == snapshot
@@ -42,7 +45,10 @@ def test_openai_responses_adapter_with_real_response_parallel_tool_calls(snapsho
4245
assert len(eval_rows) == 1
4346

4447
# Convert to dict for snapshot testing
45-
eval_rows_dict = [row.model_dump(exclude={"created_at": True, "execution_metadata": True, "messages": {"__all__": {"weight"}}}) for row in eval_rows]
48+
eval_rows_dict = [
49+
row.model_dump(exclude={"created_at": True, "execution_metadata": True, "messages": {"__all__": {"weight"}}})
50+
for row in eval_rows
51+
]
4652

4753
# Assert against snapshot
4854
assert eval_rows_dict == snapshot

0 commit comments

Comments
 (0)