1
0
Fork 0

Fix the svg tests on archlinux

This commit is contained in:
jvoisin 2022-03-28 22:43:22 +02:00
parent 5ccddae7f5
commit 2a74a400e2
1 changed files with 35 additions and 31 deletions

View File

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