fix failing windows test

This commit is contained in:
MKLeb 2022-09-20 19:33:16 -04:00 committed by Gareth J. Greenaway
parent 5369d5843c
commit d116107432

View file

@ -65,7 +65,7 @@ def configure_loader_modules(tmp_path):
"__role": "master",
}
if salt.utils.platform.is_windows():
opts["gitfs_remotes"] = opts["gitfs_remotes"].replace("\\", "/")
opts["gitfs_remotes"][0] = opts["gitfs_remotes"][0].replace("\\", "/")
return {gitfs: {"__opts__": opts}}