Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Apr 13, 2022
1 parent 550c9ac commit d265b05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qiita_db/metadata_template/test/test_prep_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]'))

# cleaning
Expand Down

0 comments on commit d265b05

Please sign in to comment.