Fix the CI for recent exiftool versions
Always a joy to deal with withespaces
This commit is contained in:
parent
49c8b14e59
commit
6df615281b
@ -462,7 +462,7 @@ class TestCleaning(unittest.TestCase):
|
|||||||
'HandlerDescription': 'SoundHandler',
|
'HandlerDescription': 'SoundHandler',
|
||||||
'HandlerType': 'Metadata',
|
'HandlerType': 'Metadata',
|
||||||
'HandlerVendorID': 'Apple',
|
'HandlerVendorID': 'Apple',
|
||||||
'MajorBrand': 'MP4 Base Media v1 [IS0 14496-12:2003]',
|
'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]',
|
||||||
'MaxBitrate': 465641,
|
'MaxBitrate': 465641,
|
||||||
'MediaDataOffset': 48,
|
'MediaDataOffset': 48,
|
||||||
'MediaDataSize': 379872,
|
'MediaDataSize': 379872,
|
||||||
@ -517,7 +517,7 @@ class TestCleaning(unittest.TestCase):
|
|||||||
p2 = case['parser'](p1.output_filename)
|
p2 = case['parser'](p1.output_filename)
|
||||||
for k, v in p2.get_meta().items():
|
for k, v in p2.get_meta().items():
|
||||||
self.assertIn(k, case['expected_meta'])
|
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())
|
self.assertTrue(p2.remove_all())
|
||||||
|
|
||||||
os.remove(target)
|
os.remove(target)
|
||||||
|
Loading…
Reference in New Issue
Block a user