From 9ebe0bc97ddf315ad116c0e7deae0eca4aadcf89 Mon Sep 17 00:00:00 2001 From: William Pringle Date: Tue, 30 Jul 2024 08:52:40 -0400 Subject: [PATCH] Overwrite existing output file in test (#108) adding overwrite=True to one of stormevent tests to fix any problems with rerunning tests in local space --- tests/test_stormevent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_stormevent.py b/tests/test_stormevent.py index f9b373d..38cb578 100644 --- a/tests/test_stormevent.py +++ b/tests/test_stormevent.py @@ -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)