From 8a1c7574972a5a7c6212bd1e6c36ee5451ebb9ef Mon Sep 17 00:00:00 2001 From: Ronan Lamy Date: Fri, 23 Sep 2022 14:43:43 +0100 Subject: [PATCH] fix test on Windows --- tests/func/test_ls_url.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/func/test_ls_url.py b/tests/func/test_ls_url.py index 339b8710f..797646675 100644 --- a/tests/func/test_ls_url.py +++ b/tests/func/test_ls_url.py @@ -8,7 +8,9 @@ from dvc.repo import Repo def match_files(entries, expected): entries_content = {(d["path"], d["isdir"]) for d in entries} - expected_content = {(d["path"], d["isdir"]) for d in expected} + expected_content = { + (os.path.normpath(d["path"]), d["isdir"]) for d in expected + } assert entries_content == expected_content