Skip to content

Commit

Permalink
[FIX] UT expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Dec 10, 2024
1 parent 00c6dea commit 06872ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_lineage_from_acc(self):
tax = Taxonomy()
taxid = tax.get_name_translator(['GCA_006226595.1'])
res = tax.get_name_lineage(['GCA_006226595.1'])['GCA_006226595.1']
self.assertEqual("root; d__Bacteria; p__Myxococcota_A; c__UBA796; o__UBA796; f__GCA-2862545; g__M1803; s__M1803 sp006226595; GB_GCA_006226595.1".split('; '),
self.assertEqual("root; d__Bacteria; p__Myxococcota; c__UBA796; o__UBA796; f__GCA-2862545; g__M1803; s__M1803 sp006226595; GB_GCA_006226595.1".split('; '),
res)

def test_gtdb_common_name(self):
Expand All @@ -52,4 +52,4 @@ def test_calls_update_db_with_good_args(self, mocked_updated_db):
except ValueError:
pass
self.assertTrue(mocked_updated_db.called)
mocked_updated_db.assert_called_with("/tmp/test/taxonomy.sqlite", targz_file="/tmp/test/omatax.tar.gz")
mocked_updated_db.assert_called_with("/tmp/test/taxonomy.sqlite", targz_file="/tmp/test/omatax.tar.gz")

0 comments on commit 06872ef

Please sign in to comment.