Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsbarnard committed Jun 4, 2024
2 parents 1c99661 + 3154b79 commit 8202949
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ build:

python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
6 changes: 6 additions & 0 deletions test/test_worms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ def test_get_descendants_names(self):
descendants = worms.get_descendants_names('Bathochordaeus')
self.assertIsNotNone(descendants)
self.assertIn('Bathochordaeus charon', descendants)

siph_all_descendants = worms.get_descendants_names('Siphonophorae', accepted=False)
siph_accepted_descendants = worms.get_descendants_names('Siphonophorae', accepted=True)
self.assertIsNotNone(siph_all_descendants)
self.assertIsNotNone(siph_accepted_descendants)
self.assertGreater(len(siph_all_descendants), len(siph_accepted_descendants))

siph_all_descendants = worms.get_descendants_names('Siphonophorae', accepted=False)
siph_accepted_descendants = worms.get_descendants_names('Siphonophorae', accepted=True)
Expand Down

0 comments on commit 8202949

Please sign in to comment.