summaryrefslogtreecommitdiff
path: root/test/clitest.py
diff options
context:
space:
mode:
authorjvoisin2012-12-25 01:48:38 +0100
committerjvoisin2012-12-25 01:48:38 +0100
commit5fd8f1dbb84370c90343e5112951ef5cbea0e3c7 (patch)
treeaf93d15204e40030fc18cb083d10f098800f2fa9 /test/clitest.py
parentfb167b988f7e7f578b03449ad2dc75c9413f39b1 (diff)
Partial fix of the testsuite
Diffstat (limited to 'test/clitest.py')
-rw-r--r--test/clitest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/clitest.py b/test/clitest.py
index 0b041b9..bc0a7fd 100644
--- a/test/clitest.py
+++ b/test/clitest.py
@@ -22,14 +22,14 @@ class TestRemovecli(test.MATTest):
22 '''make sure that the cli remove all compromizing meta''' 22 '''make sure that the cli remove all compromizing meta'''
23 for _, dirty in self.file_list: 23 for _, dirty in self.file_list:
24 subprocess.call(['../mat', dirty]) 24 subprocess.call(['../mat', dirty])
25 current_file = mat.create_class_file(dirty, False, True) 25 current_file = mat.create_class_file(dirty, False, add2archive=True, low_pdf_quality=True)
26 self.assertTrue(current_file.is_clean()) 26 self.assertTrue(current_file.is_clean())
27 27
28 def test_remove_empty(self): 28 def test_remove_empty(self):
29 '''Test removal with clean files''' 29 '''Test removal with clean files'''
30 for clean, _ in self.file_list: 30 for clean, _ in self.file_list:
31 subprocess.call(['../mat', clean]) 31 subprocess.call(['../mat', clean])
32 current_file = mat.create_class_file(clean, False, True) 32 current_file = mat.create_class_file(clean, False, add2archive=True, low_pdf_quality=True)
33 self.assertTrue(current_file.is_clean()) 33 self.assertTrue(current_file.is_clean())
34 34
35 35