Skip to content

Commit

Permalink
Adapt test_ribasim_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Apr 23, 2024
1 parent e03dbfe commit c4c7ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_ribasim_cli(model_constructor, tmp_path):
assert isinstance(model, ribasim.Model)
model.write(tmp_path / "ribasim.toml")

executable = Path(__file__).parents[1] / "ribasim_cli" / "bin" / "ribasim"
executable = Path(__file__).parents[1] / "ribasim" / "ribasim"
result = subprocess.run([executable, tmp_path / "ribasim.toml"])

if model_constructor.__name__.startswith("invalid_"):
Expand Down

0 comments on commit c4c7ea9

Please sign in to comment.