Skip to content

Commit

Permalink
Add test to ensure that the right size of summary data is returned.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Oct 4, 2023
1 parent a1992c3 commit e3d741e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ext/test_matproj.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ def test_get_summary(self):

doc = self.rester.summary.search(material_ids="mp-19770,mp-19017", _fields="formula_pretty,energy_above_hull")
assert len(doc) == 2
assert len(doc[0]) == 2
assert doc[0]["energy_above_hull"] >= 0
assert doc[1]["energy_above_hull"] >= 0

Expand Down

0 comments on commit e3d741e

Please sign in to comment.