1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Fix the svg tests on archlinux

This commit is contained in:
jvoisin 2022-03-28 22:43:22 +02:00
parent 5ccddae7f5
commit 2a74a400e2

View File

@ -445,7 +445,10 @@ class TestCleaning(unittest.TestCase):
'meta': { 'meta': {
'WorkDescription': "This is a test svg image for mat2's testsuite", 'WorkDescription': "This is a test svg image for mat2's testsuite",
}, },
'expected_meta': {}, 'expected_meta': {
'ImageSize': '128x128',
'Megapixels': '0.016',
},
} ,{ } ,{
'name': 'ppm', 'name': 'ppm',
'parser': images.PPMParser, 'parser': images.PPMParser,
@ -506,6 +509,7 @@ class TestCleaning(unittest.TestCase):
def test_all_parametred(self): def test_all_parametred(self):
for case in self.data: for case in self.data:
with self.subTest(case=case):
if 'ffmpeg' in case: if 'ffmpeg' in case:
try: try:
video._get_ffmpeg_path() video._get_ffmpeg_path()