mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix broken test on Windows
This commit is contained in:
parent
ae0e579747
commit
8f76636c54
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
"""
|
||||
|
||||
import copy
|
||||
import os
|
||||
import pathlib
|
||||
import shutil
|
||||
import sys
|
||||
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue