diff options
| author | jvoisin | 2012-12-25 01:48:38 +0100 |
|---|---|---|
| committer | jvoisin | 2012-12-25 01:48:38 +0100 |
| commit | 5fd8f1dbb84370c90343e5112951ef5cbea0e3c7 (patch) | |
| tree | af93d15204e40030fc18cb083d10f098800f2fa9 /test/clitest.py | |
| parent | fb167b988f7e7f578b03449ad2dc75c9413f39b1 (diff) | |
Partial fix of the testsuite
Diffstat (limited to 'test/clitest.py')
| -rw-r--r-- | test/clitest.py | 4 |
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 | ||
