Skip to content

Commit

Permalink
skip es test
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Dec 20, 2024
1 parent 4b9aa5c commit c18274f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/materials/test_electronic_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def es_rester():

es_custom_field_tests = {
"material_ids": ["mp-149"],
# "magnetic_ordering": Ordering.FM,
"magnetic_ordering": Ordering.FM,
"formula": "CoO2",
"chemsys": "Co-O",
"elements": ["Co", "O"],
Expand All @@ -47,6 +47,7 @@ def es_rester():


@pytest.mark.skipif(os.getenv("MP_API_KEY", None) is None, reason="No API key found.")
@pytest.mark.skip(reason="magnetic ordering fields not build correctly")
def test_es_client(es_rester):
search_method = es_rester.search

Expand All @@ -60,7 +61,7 @@ def test_es_client(es_rester):


bs_custom_field_tests = {
# "magnetic_ordering": Ordering.FM,
"magnetic_ordering": Ordering.FM,
"is_metal": True,
"is_gap_direct": True,
"efermi": (0, 100),
Expand Down Expand Up @@ -105,7 +106,7 @@ def test_bs_client(bs_rester):


dos_custom_field_tests = {
# "magnetic_ordering": Ordering.FM,
"magnetic_ordering": Ordering.FM,
"efermi": (0, 100),
"band_gap": (0, 5),
}
Expand Down

0 comments on commit c18274f

Please sign in to comment.