diff --git a/tests/test_schism_cast.py b/tests/test_schism_cast.py index 9dbede08..5cd4fcad 100644 --- a/tests/test_schism_cast.py +++ b/tests/test_schism_cast.py @@ -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 diff --git a/tests/test_schism_reforecast.py b/tests/test_schism_reforecast.py index bc1caa97..4b90ff42 100644 --- a/tests/test_schism_reforecast.py +++ b/tests/test_schism_reforecast.py @@ -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 @@ -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