Skip to content

Commit

Permalink
test(marks): mark tests needing developmode (#1824)
Browse files Browse the repository at this point in the history
Mark some tests that need to be skipped in release mode
  • Loading branch information
wpbonelli authored May 17, 2024
1 parent b50af44 commit 269ca6e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions autotest/test_prt_disv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ def check_output(idx, test):
compare_output(name, mf6_pls, mp7_pls, mp7_eps)


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def check_output(idx, test):
return


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_beg2022.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def check_output(idx, test):
return


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_bowl.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ def check_output(idx, test):
assert np.allclose(stage_all[-1].flatten(), stage_answer, atol=1.0e-5), msg


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_gwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def check_output(idx, test):
return


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_swrt2.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def check_output(idx, test):
return


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_swrt2b.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ def check_output(idx, test):
), f"Simulated depth at end should be 1, but found {depth}"


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_dfw_swrt2dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def check_output(idx, test):
), f"Simulated depth at end should be 1, but found {depth}"


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down
1 change: 1 addition & 0 deletions autotest/test_swf_vcatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def check_output(idx, test):
return


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
def test_mf6model(idx, name, function_tmpdir, targets):
test = TestFramework(
Expand Down

0 comments on commit 269ca6e

Please sign in to comment.