Skip to content

Commit

Permalink
Skip failing neware test until release is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Feb 28, 2024
1 parent 5c932d0 commit 294f657
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_echem.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,15 @@ def test_arbin_res():

assert all(c in df for c in cols)

@pytest.skip("This test will not pass until neware-nda release is made")
def test_nda():
import navani.echem as ec

test_path = pathlib.Path(__file__).parent.parent / "Example_data" / "test.nda"

with pytest.warns(RuntimeWarning, match="scaling") as record:
df = ec.echem_file_loader(test_path)
df = ec.echem_file_loader(test_path)

# Filter out any other warning messages
record = [r for r in record if r.category is RuntimeWarning and "scaling" in str(r.message)]
assert len(record) == 1
cols = (
"state",
"cycle change",
Expand Down

0 comments on commit 294f657

Please sign in to comment.