diff options
Diffstat (limited to 'test/python')
| -rw-r--r-- | test/python/test_species.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/python/test_species.py b/test/python/test_species.py index 373b286..f739d98 100644 --- a/test/python/test_species.py +++ b/test/python/test_species.py @@ -39,6 +39,11 @@ class SpeciesTest(ServerTestCase): self.assertIn("name", record) self.assertIn("family", record) + # mouse and rat are always present in the database. + names = {record["name"] for record in species} + self.assertIn("mouse", names) + self.assertIn("rat", names) + if __name__ == "__main__": unittest.main() |
