Commit 6df61528 authored by jvoisin's avatar jvoisin
Browse files

Fix the CI for recent exiftool versions

Always a joy to deal with withespaces
parent 49c8b14e
Pipeline #60868 passed with stages
in 7 minutes and 29 seconds
......@@ -462,7 +462,7 @@ class TestCleaning(unittest.TestCase):
'HandlerDescription': 'SoundHandler',
'HandlerType': 'Metadata',
'HandlerVendorID': 'Apple',
'MajorBrand': 'MP4 Base Media v1 [IS0 14496-12:2003]',
'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]',
'MaxBitrate': 465641,
'MediaDataOffset': 48,
'MediaDataSize': 379872,
......@@ -517,7 +517,7 @@ class TestCleaning(unittest.TestCase):
p2 = case['parser'](p1.output_filename)
for k, v in p2.get_meta().items():
self.assertIn(k, case['expected_meta'])
self.assertEqual(v, case['expected_meta'][k])
self.assertIn(str(case['expected_meta'][k]), str(v))
self.assertTrue(p2.remove_all())
os.remove(target)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment