summaryrefslogtreecommitdiff
path: root/test/libtest.py
diff options
context:
space:
mode:
authorjvoisin2014-01-27 22:19:50 +0000
committerjvoisin2014-01-27 22:19:50 +0000
commita8195f5d8034f82aef04d2da223fc0a9c0dc9d38 (patch)
treecd62a5e74ac8a18c49a6e214a0d03f44d975380b /test/libtest.py
parentdbc1c736e63797c7e88dcd9187fdb028a8de9e59 (diff)
Non-writtables test files are now chmod'ed to be properly removed.
Diffstat (limited to 'test/libtest.py')
-rw-r--r--test/libtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libtest.py b/test/libtest.py
index cbc807f..c2cb2f1 100644
--- a/test/libtest.py
+++ b/test/libtest.py
@@ -98,7 +98,7 @@ class TestSecureRemove(unittest.TestCase):
98 def test_remove_fail(self): 98 def test_remove_fail(self):
99 ''' test the secure removal of an non-removable file 99 ''' test the secure removal of an non-removable file
100 ''' 100 '''
101 self.assertRaises(MAT.exceptions.UnableToRemoveFile, MAT.mat.secure_remove, '/NOTREMOVABLE') 101 self.assertRaises(MAT.exceptions.UnableToWriteFile, MAT.mat.secure_remove, '/NOTREMOVABLE')
102 102
103 103
104class TestArchiveProcessing(test.MATTest): 104class TestArchiveProcessing(test.MATTest):