Skip to content

Commit 3bc3ac8

Browse files
author
munrojm
committed
Fix tests
1 parent 887904b commit 3bc3ac8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/materials/test_eos.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ def rester():
2525

2626
sub_doc_fields = [] # type: list
2727

28-
alt_name_dict = {} # type: dict
28+
alt_name_dict = {"material_ids": "material_id"} # type: dict
2929

30-
custom_field_tests = {} # type: dict
30+
custom_field_tests = { # type: dict
31+
"material_ids": ["mp-149"]}
3132

3233

3334
@pytest.mark.skipif(os.getenv("MP_API_KEY", None) is None, reason="No API key found.")

tests/materials/test_grain_boundary.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def rester():
2424

2525
sub_doc_fields = [] # type: list
2626

27-
alt_name_dict = {"material_ids": "task_id", "separation_energy": "w_sep"} # type: dict
27+
alt_name_dict = {"material_ids": "material_id", "separation_energy": "w_sep"} # type: dict
2828

2929
custom_field_tests = {
3030
"material_ids": ["mp-81"],

0 commit comments

Comments
 (0)