Skip to content

Commit a38aacf

Browse files
committed
fix tests
1 parent b7c7712 commit a38aacf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/execution/test_execution.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,9 @@ def test_jobs_api_returns_completed_jobs(
919919

920920
jobs_response = client.get_jobs(status="completed")
921921
assert "jobs" in jobs_response, "Response should have jobs array"
922-
assert "total" in jobs_response, "Response should have total count"
923-
assert "has_more" in jobs_response, "Response should have has_more flag"
922+
assert "pagination" in jobs_response, "Response should have pagination object"
923+
assert "total" in jobs_response["pagination"], "Pagination should have total count"
924+
assert "has_more" in jobs_response["pagination"], "Pagination should have has_more flag"
924925

925926
job_ids = [j["id"] for j in jobs_response["jobs"]]
926927
assert prompt_id in job_ids, "Completed job should appear in jobs list"

0 commit comments

Comments
 (0)