Browse Source

Fix the CI for recent exiftool versions

Always a joy to deal with withespaces
master
jvoisin 2 weeks ago
parent
commit
6df615281b
  1. 4
      tests/test_libmat2.py

4
tests/test_libmat2.py

@ -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)

Loading…
Cancel
Save