Skip to content

Commit 0d2d45b

Browse files
committed
use native path separator for the test repo as well
1 parent 1bedfbb commit 0d2d45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/test/python/test_mirror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def test_get_repos_for_project_first_repo(monkeypatch):
462462
repository matching the project.
463463
"""
464464
project_name = 'foo'
465-
test_repo = "/" + project_name
465+
test_repo = os.path.sep + project_name
466466

467467
def mock_get_repos(*args, **kwargs):
468468
return [test_repo + os.path.sep + "x", test_repo, test_repo + os.path.sep + "y"]

0 commit comments

Comments
 (0)