Skip to content

Commit

Permalink
Fix structure test
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Nov 8, 2023
1 parent 1845d1e commit 5324d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mprester.py
Expand Up @@ -46,7 +46,7 @@ def test_get_structure_by_material_id(self, mpr):
assert s1.formula == "Ca12 Ti8 O28"

s1 = mpr.get_structure_by_material_id("mp-149", final=False)
assert [s.formula for s in s1] == ["Si2"]
assert {s.formula for s in s1} == {"Si2"}

# # requesting via task-id instead of mp-id
with pytest.warns(UserWarning):
Expand Down

0 comments on commit 5324d52

Please sign in to comment.