Skip to content

Commit

Permalink
tests: Fix failings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Apr 8, 2024
1 parent bc33656 commit 3a76d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/test_schism_cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,5 @@ def test_schism_cast_workflow(tmpdir):
# flag = True
# print(mdif)

assert (rb == ["zcor"]) or (rb == [])
expected = ["wetdry_side", "wetdry_elem", "wetdry_node", "zcor", "elev", "hvel"]
assert rb == expected
6 changes: 3 additions & 3 deletions tests/test_schism_reforecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@


@pytest.mark.schism
def test_schirsm_reforecast_workflow(tmpdir):
def test_schism_reforecast_workflow(tmpdir):
# initialize a model
rpath = str(tmpdir) + "/schism/"
case.update({"rpath": rpath + "20181001.00/"}) # use tmpdir for running the model
Expand Down Expand Up @@ -166,5 +166,5 @@ def test_schirsm_reforecast_workflow(tmpdir):
# if mdif < 1.e-14 :
# flag = True
# print(mdif)

assert (rb == ["zcor"]) or rb == []
expected = ["wetdry_side", "wetdry_elem", "wetdry_node", "zcor", "elev", "hvel"]
assert rb == expected

0 comments on commit 3a76d9b

Please sign in to comment.