diff options
| author | jvoisin | 2021-06-06 16:25:59 +0200 |
|---|---|---|
| committer | jvoisin | 2021-06-06 16:33:35 +0200 |
| commit | 6df615281b2a649b85ff7670f6d87d3beed0b977 (patch) | |
| tree | 2b46cf3d94c092f15d3daad272205f770c8d5cec /tests/test_libmat2.py | |
| parent | 49c8b14e59bf67ba8bd78c176a7010aea22cf410 (diff) | |
Fix the CI for recent exiftool versions
Always a joy to deal with withespaces
Diffstat (limited to 'tests/test_libmat2.py')
| -rw-r--r-- | tests/test_libmat2.py | 4 |
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): | |||
| 462 | 'HandlerDescription': 'SoundHandler', | 462 | 'HandlerDescription': 'SoundHandler', |
| 463 | 'HandlerType': 'Metadata', | 463 | 'HandlerType': 'Metadata', |
| 464 | 'HandlerVendorID': 'Apple', | 464 | 'HandlerVendorID': 'Apple', |
| 465 | 'MajorBrand': 'MP4 Base Media v1 [IS0 14496-12:2003]', | 465 | 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', |
| 466 | 'MaxBitrate': 465641, | 466 | 'MaxBitrate': 465641, |
| 467 | 'MediaDataOffset': 48, | 467 | 'MediaDataOffset': 48, |
| 468 | 'MediaDataSize': 379872, | 468 | 'MediaDataSize': 379872, |
| @@ -517,7 +517,7 @@ class TestCleaning(unittest.TestCase): | |||
| 517 | p2 = case['parser'](p1.output_filename) | 517 | p2 = case['parser'](p1.output_filename) |
| 518 | for k, v in p2.get_meta().items(): | 518 | for k, v in p2.get_meta().items(): |
| 519 | self.assertIn(k, case['expected_meta']) | 519 | self.assertIn(k, case['expected_meta']) |
| 520 | self.assertEqual(v, case['expected_meta'][k]) | 520 | self.assertIn(str(case['expected_meta'][k]), str(v)) |
| 521 | self.assertTrue(p2.remove_all()) | 521 | self.assertTrue(p2.remove_all()) |
| 522 | 522 | ||
| 523 | os.remove(target) | 523 | os.remove(target) |
