Skip to content

Commit

Permalink
Try adding resolve to paths to see if it fixes tmp symlink issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHodson committed Nov 8, 2024
1 parent 685861a commit c178dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_passing_config_directly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit c178dbf

Please sign in to comment.