From 2ac069acc5a95ea0f1f023210ce8891d23450ee0 Mon Sep 17 00:00:00 2001 From: Wes Bonelli Date: Wed, 26 Jul 2023 18:14:27 -0400 Subject: [PATCH] fix test_mt3d.py --- autotest/test_mt3d.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/autotest/test_mt3d.py b/autotest/test_mt3d.py index 2b8b8cea..e0ed2127 100644 --- a/autotest/test_mt3d.py +++ b/autotest/test_mt3d.py @@ -145,7 +145,7 @@ def test_download_exes(module_tmpdir): "p01SpatialStresses(mf6)", ], ) -def test_mt3dusgs(module_tmpdir, workspace, ws): +def test_mt3dusgs(module_tmpdir, workspace, ws, target): mfnwt_exe = module_tmpdir / "mfnwt" if pymake.usgs_program_data().get_version(mfnwt_exe) == "1.2.0": exclude = [ @@ -164,4 +164,9 @@ def test_mt3dusgs(module_tmpdir, workspace, ws): if ws in exclude: pytest.skip(reason="excluding {ws}") - assert run_mt3dusgs(workspace / "data" / ws), f"could not run {ws}" + assert run_mt3dusgs( + workspace / "data" / ws, + target, + mfnwt_exe, + module_tmpdir / "mf6", + ), f"could not run {ws}"