diff options
| author | jvoisin | 2012-02-09 23:12:02 +0100 |
|---|---|---|
| committer | jvoisin | 2012-02-09 23:12:02 +0100 |
| commit | d175a9d9a011c8e30d31bfd3cb7948940e867493 (patch) | |
| tree | 74060d617ba45f2090b00cb6cc8d5cce8a290c11 /test | |
| parent | 97faad76d385d78643c2d3752b2a1378b9bb2591 (diff) | |
Remove a stupid test
Diffstat (limited to 'test')
| -rw-r--r-- | test/clitest.py | 6 | ||||
| -rw-r--r-- | test/libtest.py | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/test/clitest.py b/test/clitest.py index 5b0f0c3..a4530a9 100644 --- a/test/clitest.py +++ b/test/clitest.py | |||
| @@ -78,12 +78,6 @@ class TestFileAttributes(unittest.TestCase): | |||
| 78 | ''' | 78 | ''' |
| 79 | test various stuffs about files (readable, writable, exist, ...) | 79 | test various stuffs about files (readable, writable, exist, ...) |
| 80 | ''' | 80 | ''' |
| 81 | def test_not_readable(self): | ||
| 82 | proc = subprocess.Popen(['../mat', 'not_readable'], | ||
| 83 | stdout=subprocess.PIPE) | ||
| 84 | stdout, _ = proc.communicate() | ||
| 85 | self.assertEqual(stdout.strip('\n'), 'Unable to pocess %s' % 'not_readable') | ||
| 86 | |||
| 87 | def test_not_writtable(self): | 81 | def test_not_writtable(self): |
| 88 | proc = subprocess.Popen(['../mat', 'not_writtable'], | 82 | proc = subprocess.Popen(['../mat', 'not_writtable'], |
| 89 | stdout=subprocess.PIPE) | 83 | stdout=subprocess.PIPE) |
diff --git a/test/libtest.py b/test/libtest.py index 9ac12c0..8f7df82 100644 --- a/test/libtest.py +++ b/test/libtest.py | |||
| @@ -70,9 +70,6 @@ class TestFileAttributes(unittest.TestCase): | |||
| 70 | ''' | 70 | ''' |
| 71 | test various stuffs about files (readable, writable, exist, ...) | 71 | test various stuffs about files (readable, writable, exist, ...) |
| 72 | ''' | 72 | ''' |
| 73 | def test_not_readable(self): | ||
| 74 | self.assertFalse(mat.create_class_file('not_readable', False, True)) | ||
| 75 | |||
| 76 | def test_not_writtable(self): | 73 | def test_not_writtable(self): |
| 77 | self.assertFalse(mat.create_class_file('not_writtable', False, True)) | 74 | self.assertFalse(mat.create_class_file('not_writtable', False, True)) |
| 78 | 75 | ||
