Skip to content

Commit

Permalink
add the cases for time_series/boundary condition files as forcing fil…
Browse files Browse the repository at this point in the history
…es to the `TestMeteo`
  • Loading branch information
MAfarrag committed Nov 18, 2024
1 parent 1a17cd2 commit ed71a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dflowfm/test_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def test_initialize_with_boundary_condition_file(self, boundary_condition_file:
forcingfile=boundary_condition_file,
forcingfiletype=MeteoForcingFileType.bcascii,
)
assert isinstance(meteo.forcingfile, DiskOnlyFileModel)
assert isinstance(meteo.forcingfile, ForcingModel)
assert meteo.forcingfile.filepath == boundary_condition_file
assert meteo.forcingfiletype == MeteoForcingFileType.bcascii

Expand All @@ -795,6 +795,6 @@ def test_initialize_with_time_series_file(self, time_series_file: Path):
forcingfile=time_series_file,
forcingfiletype=MeteoForcingFileType.bcascii,
)
assert isinstance(meteo.forcingfile, DiskOnlyFileModel)
assert isinstance(meteo.forcingfile, TimModel)
assert meteo.forcingfile.filepath == time_series_file
assert meteo.forcingfiletype == MeteoForcingFileType.bcascii

0 comments on commit ed71a0b

Please sign in to comment.