Skip to content

Commit 2c19e16

Browse files
committed
Assert dynamic tool error message specificity
1 parent 60d12ac commit 2c19e16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/galaxy_test/api/test_workflows.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,8 @@ def test_import_export_dynamic(self):
11921192
# do the raw re-import as a regular user we expect a 403 error.
11931193
response = self.workflow_populator.create_workflow_response(downloaded_workflow)
11941194
self._assert_status_code_is(response, 403)
1195+
response_dict = response.json()
1196+
assert response_dict["err_msg"] == "Only admin users can create tools dynamically."
11951197

11961198
def test_import_annotations(self):
11971199
workflow_id = self.workflow_populator.simple_workflow("test_import_annotations", publish=True)

0 commit comments

Comments
 (0)