diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/libtest.py | 1 | ||||
| -rw-r--r-- | test/test.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/libtest.py b/test/libtest.py index acf8659..f92d933 100644 --- a/test/libtest.py +++ b/test/libtest.py | |||
| @@ -84,6 +84,7 @@ class TestFileAttributes(unittest.TestCase): | |||
| 84 | ''' test MAT's behaviour on empty file''' | 84 | ''' test MAT's behaviour on empty file''' |
| 85 | self.assertFalse(MAT.mat.create_class_file('empty_file', False, add2archive=True)) | 85 | self.assertFalse(MAT.mat.create_class_file('empty_file', False, add2archive=True)) |
| 86 | 86 | ||
| 87 | |||
| 87 | class TestSecureRemove(unittest.TestCase): | 88 | class TestSecureRemove(unittest.TestCase): |
| 88 | ''' Test the secure_remove function | 89 | ''' Test the secure_remove function |
| 89 | ''' | 90 | ''' |
diff --git a/test/test.py b/test/test.py index 0b7996b..1641f88 100644 --- a/test/test.py +++ b/test/test.py | |||
| @@ -8,12 +8,12 @@ | |||
| 8 | - remove the copy on end | 8 | - remove the copy on end |
| 9 | ''' | 9 | ''' |
| 10 | 10 | ||
| 11 | |||
| 11 | import shutil | 12 | import shutil |
| 12 | import os | 13 | import os |
| 13 | import glob | 14 | import glob |
| 14 | import tempfile | 15 | import tempfile |
| 15 | import unittest | 16 | import unittest |
| 16 | import subprocess | ||
| 17 | 17 | ||
| 18 | VERBOSITY = 15 | 18 | VERBOSITY = 15 |
| 19 | 19 | ||
| @@ -39,6 +39,7 @@ except ImportError: | |||
| 39 | FILE_LIST.remove(('clean é.mp3', 'dirty é.mp3')) | 39 | FILE_LIST.remove(('clean é.mp3', 'dirty é.mp3')) |
| 40 | FILE_LIST.remove(('clean é.flac', 'dirty é.flac')) | 40 | FILE_LIST.remove(('clean é.flac', 'dirty é.flac')) |
| 41 | 41 | ||
| 42 | |||
| 42 | class MATTest(unittest.TestCase): | 43 | class MATTest(unittest.TestCase): |
| 43 | ''' | 44 | ''' |
| 44 | Parent class of all test-functions | 45 | Parent class of all test-functions |
