Skip to content

Commit

Permalink
Fix broken test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed May 17, 2024
1 parent 940dac5 commit 7d72869
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pytests/unit/fileserver/test_roots.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import copy
import os
import pathlib
import shutil
import sys
Expand Down Expand Up @@ -326,7 +327,7 @@ def test_find_file_symlink_destination_not_in_root(tmp_state_tree):
symlink.symlink_to(str(dirname))
ret = roots.find_file("bar/testfile")
assert ret["path"] == str(symlink / "testfile")
assert ret["rel"] == "bar/testfile"
assert ret["rel"] == f"bar{os.sep}testfile"


def test_serve_file_symlink_destination_not_in_root(tmp_state_tree):
Expand Down

0 comments on commit 7d72869

Please sign in to comment.