We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c3c3f41 + 5c3f639 commit 10fd39aCopy full SHA for 10fd39a
1 file changed
tests/data_retrieval/test_retrieve_MP.py
@@ -1,5 +1,6 @@
1
import unittest
2
3
+import pytest
4
from pymatgen.core import SETTINGS
5
from pymatgen.electronic_structure.bandstructure import (
6
BandStructure,
@@ -10,7 +11,8 @@
10
11
from matminer.data_retrieval.retrieve_MP import MPDataRetrieval
12
13
-@unittest.skipIf(not SETTINGS.get("PMG_MAPI_KEY", ""), "PMG_MAPI_KEY not in environment variables.")
14
+@pytest.mark.skipif(not SETTINGS.get("PMG_MAPI_KEY", ""), reason="PMG_MAPI_KEY not in environment variables.")
15
+@pytest.mark.xfail(reason="Needs updates to use current MP API client - flakey test.", strict=False)
16
class MPDataRetrievalTest(unittest.TestCase):
17
def setUp(self):
18
self.mpdr = MPDataRetrieval()
0 commit comments