summaryrefslogtreecommitdiff
path: root/tests/test_climat2.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_climat2.py')
-rw-r--r--tests/test_climat2.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py
index fd72278..a119884 100644
--- a/tests/test_climat2.py
+++ b/tests/test_climat2.py
@@ -67,6 +67,13 @@ class TestCleanMeta(unittest.TestCase):
67 os.remove('./tests/data/clean.jpg') 67 os.remove('./tests/data/clean.jpg')
68 68
69 69
70class TestIsSupported(unittest.TestCase):
71 def test_pdf(self):
72 proc = subprocess.Popen(['./mat2', '--show', './tests/data/dirty.pdf'],
73 stdout=subprocess.PIPE)
74 stdout, _ = proc.communicate()
75 self.assertNotIn(b"isn't supported", stdout)
76
70class TestGetMeta(unittest.TestCase): 77class TestGetMeta(unittest.TestCase):
71 def test_pdf(self): 78 def test_pdf(self):
72 proc = subprocess.Popen(['./mat2', '--show', './tests/data/dirty.pdf'], 79 proc = subprocess.Popen(['./mat2', '--show', './tests/data/dirty.pdf'],