Skip to content

Commit

Permalink
reinstate
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Nov 5, 2024
1 parent 12a6ef4 commit 30aa72f
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,11 @@
"test014_NWTP3Low_dev",
]

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


@pytest.mark.repo
@pytest.mark.regression
Expand All @@ -39,15 +44,17 @@ 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
Expand Down

0 comments on commit 30aa72f

Please sign in to comment.