mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add json keyword to tests, when posting to invoke operation of Workflow API
This commit is contained in:
@@ -6538,7 +6538,7 @@ steps:
|
||||
"parameters_normalized": True,
|
||||
"parameters": dumps(parameters),
|
||||
}
|
||||
invocation_response = self._post(f"workflows/{workflow_id}/usage", data=workflow_request)
|
||||
invocation_response = self._post(f"workflows/{workflow_id}/usage", data=workflow_request, json=True)
|
||||
self._assert_status_code_is(invocation_response, 200)
|
||||
time.sleep(5)
|
||||
self.dataset_populator.wait_for_history(history_id, assert_ok=True)
|
||||
@@ -6590,7 +6590,7 @@ steps:
|
||||
"parameters_normalized": True,
|
||||
"parameters": dumps(parameters),
|
||||
}
|
||||
invocation_response = self._post(f"workflows/{workflow_id}/usage", data=workflow_request)
|
||||
invocation_response = self._post(f"workflows/{workflow_id}/usage", data=workflow_request, json=True)
|
||||
self._assert_status_code_is(invocation_response, 200)
|
||||
time.sleep(5)
|
||||
self.dataset_populator.wait_for_history(history_id, assert_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user