Skip to content

Commit

Permalink
some regression comparison tests not expected to pass with this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Aug 8, 2024
1 parent d4676e4 commit 6286915
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions autotest/test_testmodels_mf6.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"test014_NWTP3Low_dev",
]

excluded_comparisons = [
"test051_uzfp3_lakmvr_v2_dev",
"test051_uzfp3_wellakmvr_v2",
]

@pytest.mark.repo
@pytest.mark.regression
Expand All @@ -39,17 +43,20 @@ def test_model(
):
model_path = test_model_mf6.parent
model_name = model_path.name
excluded = model_name in excluded_models
exclude_model = model_name in excluded_models
exclude_comparison = model_name in excluded_comparisons
compare = (
get_mf6_comparison(model_path)
if original_regression
else None if exclude_comparison
else "mf6_regression"
)
dev_only = "dev" in model_name and "not developmode" in markers
if excluded or dev_only:
reason = "excluded" if excluded else "developmode only"
if exclude_model or dev_only:
reason = "excluded" if exclude_model else "developmode only"
pytest.skip(f"Skipping: {model_name} ({reason})")


# setup test workspace and framework
setup_mf6(src=model_path, dst=function_tmpdir)
test = TestFramework(
Expand Down

0 comments on commit 6286915

Please sign in to comment.