From c178dbfa0016b924e6cb10b44cf1657549fd3a66 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 18 Oct 2024 11:52:18 +0100 Subject: [PATCH] Try adding resolve to paths to see if it fixes tmp symlink issues --- tests/test_passing_config_directly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_passing_config_directly.py b/tests/test_passing_config_directly.py index a89cf52..cf1a89a 100644 --- a/tests/test_passing_config_directly.py +++ b/tests/test_passing_config_directly.py @@ -55,7 +55,7 @@ def test_fdb_home(): # Check that the archive path is in the tmp directory # On OSX tmp file paths look like /private/var/folders/.../T/tmp.../x138-300.grib # While the tmp directory looks like /var/folders/.../T/tmp.../ hence why this check is not "startwith" - assert tmp_home in list_output[0]["path"] + assert str(Path(tmp_home).resolve()) in str(Path(list_output[0]["path"]).resolve()) def test_direct_config():