From 3532d00bfe759b51d85324cd4fa0478995fddf21 Mon Sep 17 00:00:00 2001 From: Tillman Date: Mon, 9 Oct 2023 17:15:47 +0200 Subject: [PATCH] Refactor error test --- lib/galaxy_test/api/test_jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy_test/api/test_jobs.py b/lib/galaxy_test/api/test_jobs.py index c2e289bd435f..01d186bfd027 100644 --- a/lib/galaxy_test/api/test_jobs.py +++ b/lib/galaxy_test/api/test_jobs.py @@ -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")