mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-03 12:53:35 +08:00
Assert dynamic tool error message specificity
This commit is contained in:
@@ -1192,6 +1192,8 @@ test_data:
|
||||
# do the raw re-import as a regular user we expect a 403 error.
|
||||
response = self.workflow_populator.create_workflow_response(downloaded_workflow)
|
||||
self._assert_status_code_is(response, 403)
|
||||
response_dict = response.json()
|
||||
assert response_dict["err_msg"] == "Only admin users can create tools dynamically."
|
||||
|
||||
def test_import_annotations(self):
|
||||
workflow_id = self.workflow_populator.simple_workflow("test_import_annotations", publish=True)
|
||||
|
||||
Reference in New Issue
Block a user