Skip to content

Commit 4364180

Browse files
tweak + reenable xas test
1 parent 7407c8b commit 4364180

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/materials/test_xas.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,21 @@ def rester():
3131
"required_elements": "elements",
3232
"formula": "formula_pretty",
3333
"exclude_elements": "material_id",
34+
"spectrum_ids": "spectrum_id"
3435
} # type: dict
3536

3637
custom_field_tests = {
37-
"edge": XasEdge.L2_3,
38+
"edge": XasEdge.L2,
3839
"spectrum_type": XasType.EXAFS,
3940
"absorbing_element": Element("Ce"),
4041
"required_elements": [Element("Ce")],
4142
"formula": "Ce(WO4)2",
4243
"chemsys": "Ce-O-W",
4344
"elements": ["Ce"],
45+
"spectrum_ids": ["mp-1194531-XANES-Fe-L2","mp-1194531-XANES-Fe-K"],
4446
} # type: dict
4547

4648

47-
@pytest.mark.skip(reason="Temp skip until timeout update.")
4849
@pytest.mark.skipif(os.getenv("MP_API_KEY") is None, reason="No API key found.")
4950
def test_client(rester):
5051
search_method = rester.search

0 commit comments

Comments
 (0)