Skip to content

Commit c0d2820

Browse files
committed
fix test_tellseq_workflow_creation
1 parent 62f3ab8 commit c0d2820

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/test_WorkflowFactory.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,14 @@ def test_tellseq_workflow_creation(self):
337337
self.assertEqual(wf.assay_type, ASSAY_NAME_METAGENOMIC)
338338

339339
self._inject_data(wf)
340-
wf.execute_pipeline()
340+
341+
# Metagenomic is a valid data type in the default qiita test
342+
# database but job-id: 78901 doesn't exist; however, if we get
343+
# to here, it means that all steps have ran to completion
344+
# and the system is trying to create the preps.
345+
with self.assertRaisesRegex(RuntimeError, 'invalid input '
346+
'syntax for type uuid: "78901"'):
347+
wf.execute_pipeline()
341348

342349

343350
if __name__ == '__main__':

0 commit comments

Comments
 (0)