diff options
Diffstat (limited to 'tests/test_climat2.py')
| -rw-r--r-- | tests/test_climat2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_climat2.py b/tests/test_climat2.py index 9238253..edc8e88 100644 --- a/tests/test_climat2.py +++ b/tests/test_climat2.py | |||
| @@ -236,6 +236,11 @@ class TestGetMeta(unittest.TestCase): | |||
| 236 | self.assertIn(b'i am a : various comment', stdout) | 236 | self.assertIn(b'i am a : various comment', stdout) |
| 237 | self.assertIn(b'artist: jvoisin', stdout) | 237 | self.assertIn(b'artist: jvoisin', stdout) |
| 238 | 238 | ||
| 239 | def test_webp(self): | ||
| 240 | proc = subprocess.Popen(mat2_binary + ['--show', './tests/data/dirty.webp'], | ||
| 241 | stdout=subprocess.PIPE) | ||
| 242 | stdout, _ = proc.communicate() | ||
| 243 | self.assertIn(b'Warning: [minor] Improper EXIF header', stdout) | ||
| 239 | 244 | ||
| 240 | class TestControlCharInjection(unittest.TestCase): | 245 | class TestControlCharInjection(unittest.TestCase): |
| 241 | def test_jpg(self): | 246 | def test_jpg(self): |
