Skip to content

Commit 49fca8f

Browse files
authored
chore: mark developmode tests (#2110)
We missed a few tests that should only run in develop mode (IDEVELOPMODE = 1). It's making the release build fail.
1 parent cd9161b commit 49fca8f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

autotest/test_gwe_bad_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def check_output(idx, test):
480480
print(msg1)
481481

482482

483-
# - No need to change any code below
483+
@pytest.mark.developmode
484484
@pytest.mark.parametrize(
485485
"idx, name",
486486
list(enumerate(cases)),

autotest/test_prt_quad_refinement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def plot_output(idx, test):
282282
plt.savefig(gwf_ws / f"test_{name}.png")
283283

284284

285+
@pytest.mark.developmode
285286
@pytest.mark.parametrize("idx, name", enumerate(cases))
286287
@pytest.mark.parametrize("levels", [1, 2])
287288
@pytest.mark.parametrize("method", ["pollock", "ternary"])

autotest/test_prt_ternary_methods.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def check_output(idx, test, snapshot):
252252
assert snapshot == pls.drop("name", axis=1).round(3).to_records(index=False)
253253

254254

255+
@pytest.mark.developmode
255256
@pytest.mark.parametrize("idx, name", enumerate(cases))
256257
def test_mf6model(idx, name, function_tmpdir, targets, benchmark, array_snapshot, plot):
257258
test = TestFramework(

0 commit comments

Comments
 (0)