From a38aacf6e9bdaa8391afb1b3380de59bc0190a9f Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Wed, 3 Dec 2025 21:45:29 -0800 Subject: [PATCH] fix tests --- tests/execution/test_execution.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/execution/test_execution.py b/tests/execution/test_execution.py index 5316848df..eedc9e27a 100644 --- a/tests/execution/test_execution.py +++ b/tests/execution/test_execution.py @@ -919,8 +919,9 @@ class TestExecution: jobs_response = client.get_jobs(status="completed") assert "jobs" in jobs_response, "Response should have jobs array" - assert "total" in jobs_response, "Response should have total count" - assert "has_more" in jobs_response, "Response should have has_more flag" + assert "pagination" in jobs_response, "Response should have pagination object" + assert "total" in jobs_response["pagination"], "Pagination should have total count" + assert "has_more" in jobs_response["pagination"], "Pagination should have has_more flag" job_ids = [j["id"] for j in jobs_response["jobs"]] assert prompt_id in job_ids, "Completed job should appear in jobs list"