File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments