Skip to content

Commit

Permalink
Refactor error test
Browse files Browse the repository at this point in the history
  • Loading branch information
heisner-tillman committed Oct 9, 2023
1 parent 507586b commit 0c57bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy_test/api/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def _run_error_report(self, history_id):
job_id = run_response["jobs"][0]["id"]
self.dataset_populator.wait_for_job(job_id)
dataset_id = run_response["outputs"][0]["id"]
response = self._post(f"jobs/{job_id}/error", data={"dataset_id": dataset_id})
response = self._post(f"jobs/{job_id}/error", data={"dataset_id": dataset_id}, json=True)
assert response.status_code == 200, response.text

@skip_without_tool("detect_errors_aggressive")
Expand Down

0 comments on commit 0c57bb9

Please sign in to comment.