We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47fb91e commit 3639b0fCopy full SHA for 3639b0f
qiita_db/handlers/tests/test_artifact.py
@@ -368,7 +368,7 @@ def test_post(self):
368
# send the new data
369
del data['prep_id']
370
obs = self.post('/qiita_db/artifact/', headers=self.header, data=data)
371
- jid = obs.body.decode("utf-8")
+ jid = loads(obs.body)['job_id']
372
373
job = qdb.processing_job.ProcessingJob(jid)
374
while job.status not in ('error', 'success'):
@@ -404,7 +404,7 @@ def test_post(self):
404
'files': dumps({'biom': [fp]})}
405
406
407
408
409
410
0 commit comments