Skip to content

Commit

Permalink
Write out migrated model
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Jan 31, 2025
1 parent 1edf4f7 commit decbc87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/ribasim/tests/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@pytest.mark.regression
def test_hws_migration():
def test_hws_migration(tmp_path):
toml_path = root_folder / "models/hws_migration_test/hws.toml"
db_path = root_folder / "models/hws_migration_test/database.gpkg"

Expand All @@ -22,3 +22,4 @@ def test_hws_migration():

assert model.link.df.index.name == "link_id"
assert len(model.link.df) == 454
model.write(tmp_path / "hws_migrated.toml")

0 comments on commit decbc87

Please sign in to comment.