Skip to content

Commit

Permalink
Test also for including the value
Browse files Browse the repository at this point in the history
Co-authored-by: John T. Wodder II <[email protected]>
  • Loading branch information
yarikoptic and jwodder authored Aug 12, 2024
1 parent 4625d82 commit a303122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandi/tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def test_species():
def test_extract_unknown_species():
with pytest.raises(ValueError) as excinfo:
extract_species({"species": "mumba-jumba"})
assert str(excinfo.value).startswith("Cannot interpret")
assert str(excinfo.value).startswith("Cannot interpret species field: mumba-jumba")


def test_species_map():
Expand Down

0 comments on commit a303122

Please sign in to comment.