Skip to content

Commit 7abfbfc

Browse files
committed
fix TestWorkflowHandler
1 parent 316eeac commit 7abfbfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qiita_db/software.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,6 @@ def load(cls, command, json_str=None, values_dict=None):
16211621
error_msg = ("The provided JSON string doesn't encode a "
16221622
"parameter set for command '%s (ID: %s)'" % (
16231623
command.name, command.id))
1624-
error_msg += str(parameters)
16251624
else:
16261625
if not isinstance(values_dict, dict):
16271626
raise qdb.exceptions.QiitaDBError(

qiita_pet/handlers/study_handlers/tests/test_processing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ def test_post(self):
152152
self.assertEqual(response.code, 200)
153153
exp = {'status': 'error', 'workflow_id': None, 'job': None,
154154
'message': "The provided JSON string doesn't encode a parameter"
155-
" set for command 3. Missing required parameter: "
155+
" set for command 'Pick closed-reference OTUs "
156+
"(ID: 3)'. Missing required parameter: "
156157
"input_data"}
157158
self.assertDictEqual(loads(response.body), exp)
158159

0 commit comments

Comments
 (0)