Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8993131

Browse files
committed
tests: fix backup.BackupTest.test_basic_missing_dir_permissions
1 parent 964d8db commit 8993131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ def test_basic_missing_dir_permissions(self):
19681968
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(
19691969
repr(e.message), self.cmd))
19701970

1971-
os.chmod(full_path, 700)
1971+
os.rmdir(full_path)
19721972

19731973
# Clean after yourself
19741974
self.del_test_dir(module_name, fname, [node])

0 commit comments

Comments
 (0)