From 269ca6eb391a9f00c8461217f7f4b04c97f0733d Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Fri, 17 May 2024 18:23:51 -0400 Subject: [PATCH] test(marks): mark tests needing developmode (#1824) Mark some tests that need to be skipped in release mode --- autotest/test_prt_disv1.py | 1 + autotest/test_swf_dfw.py | 1 + autotest/test_swf_dfw_beg2022.py | 1 + autotest/test_swf_dfw_bowl.py | 1 + autotest/test_swf_dfw_gwf.py | 1 + autotest/test_swf_dfw_swrt2.py | 1 + autotest/test_swf_dfw_swrt2b.py | 1 + autotest/test_swf_dfw_swrt2dis.py | 1 + autotest/test_swf_vcatch.py | 1 + 9 files changed, 9 insertions(+) diff --git a/autotest/test_prt_disv1.py b/autotest/test_prt_disv1.py index 2d0099d2a94..1d01668e505 100644 --- a/autotest/test_prt_disv1.py +++ b/autotest/test_prt_disv1.py @@ -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( diff --git a/autotest/test_swf_dfw.py b/autotest/test_swf_dfw.py index 04d20215143..70c3a29b0ec 100644 --- a/autotest/test_swf_dfw.py +++ b/autotest/test_swf_dfw.py @@ -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( diff --git a/autotest/test_swf_dfw_beg2022.py b/autotest/test_swf_dfw_beg2022.py index 6ae1a5cb9d4..16421d43ea9 100644 --- a/autotest/test_swf_dfw_beg2022.py +++ b/autotest/test_swf_dfw_beg2022.py @@ -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( diff --git a/autotest/test_swf_dfw_bowl.py b/autotest/test_swf_dfw_bowl.py index 062dcb490b5..655bb0f999b 100644 --- a/autotest/test_swf_dfw_bowl.py +++ b/autotest/test_swf_dfw_bowl.py @@ -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( diff --git a/autotest/test_swf_dfw_gwf.py b/autotest/test_swf_dfw_gwf.py index 0933458b08a..6d26cadda13 100644 --- a/autotest/test_swf_dfw_gwf.py +++ b/autotest/test_swf_dfw_gwf.py @@ -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( diff --git a/autotest/test_swf_dfw_swrt2.py b/autotest/test_swf_dfw_swrt2.py index 5660b82e73d..f19988bb829 100644 --- a/autotest/test_swf_dfw_swrt2.py +++ b/autotest/test_swf_dfw_swrt2.py @@ -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( diff --git a/autotest/test_swf_dfw_swrt2b.py b/autotest/test_swf_dfw_swrt2b.py index 22158f4785f..b013db1d8d9 100644 --- a/autotest/test_swf_dfw_swrt2b.py +++ b/autotest/test_swf_dfw_swrt2b.py @@ -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( diff --git a/autotest/test_swf_dfw_swrt2dis.py b/autotest/test_swf_dfw_swrt2dis.py index 3a0187a976b..358489456ea 100644 --- a/autotest/test_swf_dfw_swrt2dis.py +++ b/autotest/test_swf_dfw_swrt2dis.py @@ -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( diff --git a/autotest/test_swf_vcatch.py b/autotest/test_swf_vcatch.py index 17aea3d32ca..6711e388d72 100644 --- a/autotest/test_swf_vcatch.py +++ b/autotest/test_swf_vcatch.py @@ -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(