Skip to content

Commit

Permalink
chore: mark developmode tests (#2110)
Browse files Browse the repository at this point in the history
We missed a few tests that should only run in develop mode (IDEVELOPMODE = 1). It's making the release build fail.
  • Loading branch information
wpbonelli authored Dec 19, 2024
1 parent cd9161b commit 49fca8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autotest/test_gwe_bad_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def check_output(idx, test):
print(msg1)


# - No need to change any code below
@pytest.mark.developmode
@pytest.mark.parametrize(
"idx, name",
list(enumerate(cases)),
Expand Down
1 change: 1 addition & 0 deletions autotest/test_prt_quad_refinement.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def plot_output(idx, test):
plt.savefig(gwf_ws / f"test_{name}.png")


@pytest.mark.developmode
@pytest.mark.parametrize("idx, name", enumerate(cases))
@pytest.mark.parametrize("levels", [1, 2])
@pytest.mark.parametrize("method", ["pollock", "ternary"])
Expand Down
1 change: 1 addition & 0 deletions autotest/test_prt_ternary_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def check_output(idx, test, snapshot):
assert snapshot == pls.drop("name", axis=1).round(3).to_records(index=False)


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

0 comments on commit 49fca8f

Please sign in to comment.