From ff431ae30521f294ce4d97d31b19db93cb7c0195 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 30 Oct 2013 18:44:02 +0000 Subject: More pep8 conformance --- test/libtest.py | 1 + test/test.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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): ''' test MAT's behaviour on empty file''' self.assertFalse(MAT.mat.create_class_file('empty_file', False, add2archive=True)) + class TestSecureRemove(unittest.TestCase): ''' Test the secure_remove function ''' 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 @@ - remove the copy on end ''' + import shutil import os import glob import tempfile import unittest -import subprocess VERBOSITY = 15 @@ -39,6 +39,7 @@ except ImportError: FILE_LIST.remove(('clean é.mp3', 'dirty é.mp3')) FILE_LIST.remove(('clean é.flac', 'dirty é.flac')) + class MATTest(unittest.TestCase): ''' Parent class of all test-functions -- cgit v1.3