Skip to content

Commit d265b05

Browse files
committed
fix test
1 parent 550c9ac commit d265b05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

qiita_db/metadata_template/test/test_prep_template.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,8 +1417,9 @@ def test_artifact_setter(self):
14171417
qdb.sql_connection.perform_as_transaction(
14181418
'UPDATE qiita.default_workflow SET artifact_type_id = 10 WHERE '
14191419
'default_workflow_id = 1')
1420-
with self.assertRaisesRegex(ValueError, 'taxa_summary is not part of '
1421-
'this preparation and cannot be applied'):
1420+
with self.assertRaisesRegex(ValueError, 'This preparation data type: '
1421+
'"16S" and/or artifact type "FASTQ" does '
1422+
'not have valid workflows'):
14221423
pt.add_default_workflow(qdb.user.User('[email protected]'))
14231424

14241425
# cleaning

0 commit comments

Comments
 (0)