We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a5f0c commit c2147cfCopy full SHA for c2147cf
1 file changed
tests/client/test_mprester.py
@@ -38,6 +38,7 @@
38
39
from mp_api.client import MPRester
40
from mp_api.client.core import MPRestError, MPRestWarning
41
+from mp_api.client.core.settings import _DEFAULT_ENDPOINT
42
43
try:
44
import mpcontribs.client as contribs_client
@@ -55,7 +56,7 @@ def mpr():
55
56
@requires_api_key
57
class TestMPRester:
58
fake_mp_api_key = "12345678901234567890123456789012" # 32 chars
- default_endpoint = "https://api.materialsproject.org/"
59
+ default_endpoint = _DEFAULT_ENDPOINT
60
61
def test_get_structure_by_material_id(self, mpr):
62
s0 = mpr.get_structure_by_material_id("mp-149")
0 commit comments