summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjvoisin2013-10-30 18:44:02 +0000
committerjvoisin2013-10-30 18:44:02 +0000
commitff431ae30521f294ce4d97d31b19db93cb7c0195 (patch)
tree1ba0af34082607a318e74a068ed95bc3dd455271 /test
parenta646ebbd3a0f54b43fc610134d2ebb39b5c4c732 (diff)
More pep8 conformance
Diffstat (limited to 'test')
-rw-r--r--test/libtest.py1
-rw-r--r--test/test.py3
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
87class TestSecureRemove(unittest.TestCase): 88class 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
11import shutil 12import shutil
12import os 13import os
13import glob 14import glob
14import tempfile 15import tempfile
15import unittest 16import unittest
16import subprocess
17 17
18VERBOSITY = 15 18VERBOSITY = 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
42class MATTest(unittest.TestCase): 43class MATTest(unittest.TestCase):
43 ''' 44 '''
44 Parent class of all test-functions 45 Parent class of all test-functions