Skip to content

Commit

Permalink
Require basic results for delwaq test (#1847)
Browse files Browse the repository at this point in the history
Fixes #1846
  • Loading branch information
visr authored Sep 30, 2024
1 parent 26614a5 commit 6e0fbfc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/ribasim/tests/test_delwaq.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@


@pytest.mark.skipif(
not bool(os.getenv("D3D_HOME")), reason="Requires Delwaq to be installed."
not (
("D3D_HOME" in os.environ)
and (
delwaq_dir.parents[2] / "generated_testmodels/basic/results/flow.arrow"
).is_file()
),
reason="Requires Delwaq to be installed and basic model results.",
)
def test_offline_delwaq_coupling():
repo_dir = delwaq_dir.parents[2]
Expand Down

0 comments on commit 6e0fbfc

Please sign in to comment.