Skip to content

Commit

Permalink
Fix electrode test
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Mar 28, 2022
1 parent 6785935 commit 64c229b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions requirements.txt
@@ -1,5 +1,6 @@
pydantic>=1.8.2
pymatgen>=2022.3.7
typing-extensions==4.1.1
maggma==0.44.1
requests==2.27.1
monty==2022.3.12
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -27,7 +27,7 @@
"pymatgen>=2022.3.7",
"typing-extensions>=3.7.4.1",
"requests>=2.23.0",
"monty>=2021.8.17",
"monty>=2021.3.12",
"emmet-core>=0.21.19",
"maggma>=0.39.1",
"mpcontribs-client",
Expand Down
6 changes: 1 addition & 5 deletions tests/test_electrodes.py
Expand Up @@ -37,11 +37,7 @@
)
@pytest.mark.parametrize("rester", resters)
def test_client(rester):
# Get specific search method
search_method = None
for entry in inspect.getmembers(rester, predicate=inspect.ismethod):
if "search" in entry[0] and entry[0] != "search":
search_method = entry[1]
search_method = rester.search_electrode_docs

if search_method is not None:
# Get list of parameters
Expand Down

0 comments on commit 64c229b

Please sign in to comment.