aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvoisin <julien.voisin@dustri.org>2021-06-06 16:25:59 +0200
committerjvoisin <julien.voisin@dustri.org>2021-06-06 16:33:35 +0200
commit6df615281b2a649b85ff7670f6d87d3beed0b977 (patch)
tree2b46cf3d94c092f15d3daad272205f770c8d5cec
parent49c8b14e59bf67ba8bd78c176a7010aea22cf410 (diff)
downloadexternal_mat2-6df615281b2a649b85ff7670f6d87d3beed0b977.tar.gz
external_mat2-6df615281b2a649b85ff7670f6d87d3beed0b977.tar.bz2
external_mat2-6df615281b2a649b85ff7670f6d87d3beed0b977.zip
Fix the CI for recent exiftool versions
Always a joy to deal with withespaces
-rw-r--r--tests/test_libmat2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py
index b3ba26d..af92db3 100644
--- a/tests/test_libmat2.py
+++ b/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)