Skip to content

Commit a303122

Browse files
yarikopticjwodder
andauthored
Test also for including the value
Co-authored-by: John T. Wodder II <[email protected]>
1 parent 4625d82 commit a303122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dandi/tests/test_metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def test_species():
516516
def test_extract_unknown_species():
517517
with pytest.raises(ValueError) as excinfo:
518518
extract_species({"species": "mumba-jumba"})
519-
assert str(excinfo.value).startswith("Cannot interpret")
519+
assert str(excinfo.value).startswith("Cannot interpret species field: mumba-jumba")
520520

521521

522522
def test_species_map():

0 commit comments

Comments
 (0)