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():