Skip to content

Commit b8ba3cd

Browse files
Fix pathing
1 parent 392dfe6 commit b8ba3cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/python/test_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,8 +1456,9 @@ def test_determine_shared_policy_path(monkeypatch):
14561456
monkeypatch.setattr(utils, 'find_project_root', lambda: 'c:\\mock\\project')
14571457

14581458
result = utils.determine_shared_policy_path('test-policy.xml')
1459-
expected = 'c:\\mock\\project\\shared\\apim-policies\\fragments\\test-policy.xml'
1460-
assert result == expected
1459+
expected = Path('c:\\mock\\project') / 'shared' / 'apim-policies' / 'fragments' / 'test-policy.xml'
1460+
1461+
assert Path(result) == expected
14611462

14621463

14631464
# ------------------------------

0 commit comments

Comments
 (0)