Skip to content

Commit

Permalink
self.assertRaises
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Jan 5, 2024
1 parent cda5f7c commit 0ae8c76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qiita_db/test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,10 +1292,10 @@ def test_purge_filepaths_test(self):
self.assertCountEqual(fps_expected, fps_viewed)

def test_quick_mounts_purge(self):
obs = qdb.util.quick_mounts_purge()
exp = ('----------------------\nTotal files 0 0 Bytes\n------------'
'----------')
self.assertEqual(obs, exp)
# one of the tests creates a conflicting artifact_type so this test
# will always raise this ValueError
with self.assertRaises(ValueError):
qdb.util.quick_mounts_purge()


STUDY_INFO = {
Expand Down

0 comments on commit 0ae8c76

Please sign in to comment.