Skip to content

Commit

Permalink
Merge pull request #161 from anxdpanic/window_test_fix
Browse files Browse the repository at this point in the history
fix test_check_files on Windows
  • Loading branch information
Rechi authored Feb 9, 2019
2 parents 0978a2d + 9827d67 commit 471af67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_check_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def setUp(self):

def test_check_file_permission_is_true(self):
self.path = join(HERE, 'test_data', 'Executable file')
self.string = "ERROR: .{path}/file_permission.py is marked as stand-alone executable".format(path=self.path)
self.string = "ERROR: {path} is marked as stand-alone executable"\
.format(path=relative_path(join(self.path, "file_permission.py")))
file_index = create_file_index(self.path)
check_file_permission(self.report, file_index)
records = [Record.__str__(r) for r in ReportManager.getEnabledReporters()[0].reports]
Expand Down

0 comments on commit 471af67

Please sign in to comment.