From 5f3fe88dc1210d16c2cec987de298031e347c1ea Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Fri, 8 Nov 2024 12:37:01 +1100 Subject: [PATCH] Update test_utils.py --- tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index b2b1613..52ecc83 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -15,8 +15,8 @@ def test_clip_models(): input_directory="tests/data/tide_models", output_directory=tmpdirname, bbox=(122.27, -18.07, 122.29, -18.05) ) - output_files = [i.stem for i in pathlib.Path(tmpdirname).iterdir()] - assert output_files == ["GOT5", "EOT20", "hamtide"] + output_files = set([i.stem for i in pathlib.Path(tmpdirname).iterdir()]) + assert output_files == set(["GOT5", "EOT20", "hamtide"]) @pytest.mark.parametrize(