From 2b58eece509c22a692f4de2512ec41c00e1d2728 Mon Sep 17 00:00:00 2001 From: Vincent Deffontaines Date: Tue, 18 Mar 2025 22:11:27 +0100 Subject: Add webp support --- tests/test_climat2.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/test_climat2.py') 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): self.assertIn(b'i am a : various comment', stdout) self.assertIn(b'artist: jvoisin', stdout) + def test_webp(self): + proc = subprocess.Popen(mat2_binary + ['--show', './tests/data/dirty.webp'], + stdout=subprocess.PIPE) + stdout, _ = proc.communicate() + self.assertIn(b'Warning: [minor] Improper EXIF header', stdout) class TestControlCharInjection(unittest.TestCase): def test_jpg(self): -- cgit v1.3