We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392dfe6 commit b8ba3cdCopy full SHA for b8ba3cd
tests/python/test_utils.py
@@ -1456,8 +1456,9 @@ def test_determine_shared_policy_path(monkeypatch):
1456
monkeypatch.setattr(utils, 'find_project_root', lambda: 'c:\\mock\\project')
1457
1458
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
+ expected = Path('c:\\mock\\project') / 'shared' / 'apim-policies' / 'fragments' / 'test-policy.xml'
+
1461
+ assert Path(result) == expected
1462
1463
1464
# ------------------------------
0 commit comments