Skip to content

Commit

Permalink
mark tests as regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jan 31, 2025
1 parent 6dbf64f commit afb01ba
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions autotest/regression/test_model_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def compare_netcdf_data(base, gen):
assert np.allclose(da.data, xrg.coords[varname].data)


@pytest.mark.regression
def test_load_gwfsto01(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -168,6 +169,7 @@ def test_load_gwfsto01(function_tmpdir, example_data_path):
compare_netcdf(base, gen)


@pytest.mark.regression
def test_update_gwfsto01(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -258,6 +260,7 @@ def test_update_gwfsto01(function_tmpdir, example_data_path):
compare_netcdf(base, gen, update=update)


@pytest.mark.regression
def test_create_gwfsto01(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -498,6 +501,7 @@ def test_create_gwfsto01(function_tmpdir, example_data_path):
compare_netcdf(base, gen)


@pytest.mark.regression
def test_gwfsto01(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -641,6 +645,7 @@ def test_gwfsto01(function_tmpdir, example_data_path):
)


@pytest.mark.regression
def test_load_disv01b(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -693,6 +698,7 @@ def test_load_disv01b(function_tmpdir, example_data_path):
compare_netcdf(base, gen)


@pytest.mark.regression
def test_update_disv01b(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -786,6 +792,7 @@ def test_update_disv01b(function_tmpdir, example_data_path):
compare_netcdf(base, gen, update=update)


@pytest.mark.regression
def test_create_disv01b(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -876,6 +883,7 @@ def test_create_disv01b(function_tmpdir, example_data_path):
compare_netcdf(base, gen)


@pytest.mark.regression
def test_disv01b(function_tmpdir, example_data_path):
data_path_base = example_data_path / "mf6" / "netcdf"
tests = {
Expand Down Expand Up @@ -1013,6 +1021,7 @@ def test_disv01b(function_tmpdir, example_data_path):
)


@pytest.mark.regression
def test_dis_transform(function_tmpdir, example_data_path):
transform_ws = function_tmpdir
cmp_pth = transform_ws / "compare"
Expand Down Expand Up @@ -1071,6 +1080,7 @@ def test_dis_transform(function_tmpdir, example_data_path):


@requires_exe("triangle")
@pytest.mark.regression
def test_disv_transform(function_tmpdir, example_data_path):
# create triangular grid
from flopy.utils.triangle import Triangle
Expand Down

0 comments on commit afb01ba

Please sign in to comment.