summaryrefslogtreecommitdiff
path: root/test/clitest.py
diff options
context:
space:
mode:
authorjvoisin2011-07-21 21:15:09 +0200
committerjvoisin2011-07-21 21:15:09 +0200
commitbb83090afcd12893c301ef14869e84beda43ccb9 (patch)
treec314f6bb95c0e3c50b885f3d95a014e2e8164ee9 /test/clitest.py
parent54ca53de5e7df9e0c9bd9e25002386d346010594 (diff)
Add the possibility to add (or not) unsupported fileformat to outputed archives fileformat (invasive patch, sorry about that).
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 91b71ca..f603f97 100644
--- a/test/clitest.py
+++ b/test/clitest.py
@@ -17,14 +17,14 @@ class Test_Remove_cli(test.MATTest):
17 '''make sure that the cli remove all compromizing meta''' 17 '''make sure that the cli remove all compromizing meta'''
18 for clean, dirty in self.file_list: 18 for clean, dirty in self.file_list:
19 subprocess.call(['../cli.py', dirty]) 19 subprocess.call(['../cli.py', dirty])
20 current_file = mat.create_class_file(dirty, False) 20 current_file = mat.create_class_file(dirty, False, True)
21 self.assertTrue(current_file.is_clean()) 21 self.assertTrue(current_file.is_clean())
22 22
23 def test_remove_empty(self): 23 def test_remove_empty(self):
24 '''Test removal with clean files''' 24 '''Test removal with clean files'''
25 for clean, dirty in self.file_list: 25 for clean, dirty in self.file_list:
26 subprocess.call(['../cli.py', clean]) 26 subprocess.call(['../cli.py', clean])
27 current_file = mat.create_class_file(clean, False) 27 current_file = mat.create_class_file(clean, False, True)
28 self.assertTrue(current_file.is_clean()) 28 self.assertTrue(current_file.is_clean())
29 29
30 30