Skip to content

Commit

Permalink
tests: minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
biomadeira committed Sep 30, 2024
1 parent 3bda05d commit ad40b01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def test_resolver_search_by_taxid_mammalia(self, context, cwd):
resolver = TaxonResolver(logging=context)
resolver.load(os.path.join(cwd, "../testdata/tree.pickle"), "pickle")
taxids = resolver.search(["40674"])
assert len(taxids) == 12449
if taxids:
assert len(taxids) == 12449

def test_resolver_search_by_taxid_primates(self, context, cwd):
resolver = TaxonResolver(logging=context)
Expand Down

0 comments on commit ad40b01

Please sign in to comment.