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