summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2013-04-05 11:39:59 +0200
committerjvoisin2013-04-05 11:39:59 +0200
commit16d92f16aa77916c73177bd855de5c6997d8c839 (patch)
treecd13e7af704d0da2a47767435a82d2a54d73b770
parent90ac40a7e70c12e608c26b6a9eb4c085c4fe41fe (diff)
Fix a security issue in the cli testsuite
I though I merged this long time ago. The cli testsuite didn't called the MAT on test_remove, resulting in a fail.
-rw-r--r--test/clitest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/clitest.py b/test/clitest.py
index cfda322..bc0a7fd 100644
--- a/test/clitest.py
+++ b/test/clitest.py
@@ -21,6 +21,7 @@ class TestRemovecli(test.MATTest):
21 def test_remove(self): 21 def test_remove(self):
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 current_file = mat.create_class_file(dirty, False, add2archive=True, low_pdf_quality=True) 25 current_file = mat.create_class_file(dirty, False, add2archive=True, low_pdf_quality=True)
25 self.assertTrue(current_file.is_clean()) 26 self.assertTrue(current_file.is_clean())
26 27