Skip to content

Commit

Permalink
fix test_mt3d.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jul 26, 2023
1 parent cd1d2fa commit 2ac069a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions autotest/test_mt3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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}"

0 comments on commit 2ac069a

Please sign in to comment.