1
0
mirror of synced 2024-12-22 04:39:58 +01:00

Fix the CI for recent exiftool versions

Always a joy to deal with withespaces
This commit is contained in:
jvoisin 2021-06-06 16:25:59 +02:00
parent 49c8b14e59
commit 6df615281b

View File

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