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 de34598 commit f790eb1Copy full SHA for f790eb1
tests/scancode/test_cli.py
@@ -133,4 +133,5 @@ def test_scancode_skip_vcs_files_and_dirs_by_default(self):
133
scan_result = json.load(res)
134
# a single test.tst file that is not a VCS file should be listed
135
assert 1 == scan_result['count']
136
- assert scan_result['results'][0]['location'].endswith('vcs.tgz/vcs/test.txt')
+ scan_loc = as_posixpath(scan_result['results'][0]['location'])
137
+ assert scan_loc.endswith('vcs.tgz/vcs/test.txt')
0 commit comments