Skip to content

Commit

Permalink
Overwrite existing output file in test (#108)
Browse files Browse the repository at this point in the history
adding overwrite=True to one of stormevent tests to fix any problems with rerunning tests in local space
  • Loading branch information
WPringle authored Jul 30, 2024
1 parent 201daf0 commit 9ebe0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_stormevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ def test_storm_event_track(florence2018, ida2021):
florence_track = florence2018.track()
ida_track = ida2021.track()

florence_track.to_file(output_directory / "florence2018.fort.22")
ida_track.to_file(output_directory / "ida2021.fort.22")
florence_track.to_file(output_directory / "florence2018.fort.22", overwrite=True)
ida_track.to_file(output_directory / "ida2021.fort.22", overwrite=True)

check_reference_directory(output_directory, reference_directory)

Expand Down

0 comments on commit 9ebe0bc

Please sign in to comment.