summaryrefslogtreecommitdiff
path: root/test/clitest.py
diff options
context:
space:
mode:
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