From d265b0565581d2ad65c52be05cd3982cf674b6ec Mon Sep 17 00:00:00 2001 From: Antonio Gonzalez Date: Wed, 13 Apr 2022 10:11:37 -0600 Subject: [PATCH] fix test --- qiita_db/metadata_template/test/test_prep_template.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qiita_db/metadata_template/test/test_prep_template.py b/qiita_db/metadata_template/test/test_prep_template.py index 4cc3c73b9..28447a665 100644 --- a/qiita_db/metadata_template/test/test_prep_template.py +++ b/qiita_db/metadata_template/test/test_prep_template.py @@ -1417,8 +1417,9 @@ def test_artifact_setter(self): qdb.sql_connection.perform_as_transaction( 'UPDATE qiita.default_workflow SET artifact_type_id = 10 WHERE ' 'default_workflow_id = 1') - with self.assertRaisesRegex(ValueError, 'taxa_summary is not part of ' - 'this preparation and cannot be applied'): + with self.assertRaisesRegex(ValueError, 'This preparation data type: ' + '"16S" and/or artifact type "FASTQ" does ' + 'not have valid workflows'): pt.add_default_workflow(qdb.user.User('test@foo.bar')) # cleaning