Skip to content

Commit

Permalink
issue56:
Browse files Browse the repository at this point in the history
fix remove_readonly_dir test on windows
  • Loading branch information
dennisvang committed Nov 13, 2023
1 parent 0c9ec5d commit c5e76ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_remove_path_readonly_dir(self):
dir_path.chmod(READ_ONLY)
# test (windows doesn't really do readonly dirs)
self.assertEqual(ON_WINDOWS, os.access(dir_path, os.W_OK))
self.assertEqual(ON_WINDOWS, tufup.utils.remove_path(dir_path))
self.assertFalse(tufup.utils.remove_path(dir_path))
self.assertTrue(tufup.utils.remove_path(dir_path, override_readonly=True))


Expand Down

0 comments on commit c5e76ce

Please sign in to comment.