Skip to content

Commit f790eb1

Browse files
committed
Fix windows test
1 parent de34598 commit f790eb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tests/scancode/test_cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,5 @@ def test_scancode_skip_vcs_files_and_dirs_by_default(self):
133133
scan_result = json.load(res)
134134
# a single test.tst file that is not a VCS file should be listed
135135
assert 1 == scan_result['count']
136-
assert scan_result['results'][0]['location'].endswith('vcs.tgz/vcs/test.txt')
136+
scan_loc = as_posixpath(scan_result['results'][0]['location'])
137+
assert scan_loc.endswith('vcs.tgz/vcs/test.txt')

0 commit comments

Comments
 (0)