From a8195f5d8034f82aef04d2da223fc0a9c0dc9d38 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 27 Jan 2014 22:19:50 +0000 Subject: Non-writtables test files are now chmod'ed to be properly removed. --- test/libtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libtest.py') 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): def test_remove_fail(self): ''' test the secure removal of an non-removable file ''' - self.assertRaises(MAT.exceptions.UnableToRemoveFile, MAT.mat.secure_remove, '/NOTREMOVABLE') + self.assertRaises(MAT.exceptions.UnableToWriteFile, MAT.mat.secure_remove, '/NOTREMOVABLE') class TestArchiveProcessing(test.MATTest): -- cgit v1.3