diff options
| author | jvoisin | 2018-10-11 19:52:47 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-11 19:52:47 +0200 |
| commit | b9dbd12ef91f4dfba8c1d0737ab52ff87ac515f1 (patch) | |
| tree | 89a3eccfc073233d0ba3973e0a46ef91e791aed4 /tests/test_libmat2.py | |
| parent | b2e153b69caac208fb1821e2f21436a2f0487188 (diff) | |
Implement recursive metadata for FLAC files
Since FLAC files can contain covers, it makes sense
to parse their metadata
Diffstat (limited to 'tests/test_libmat2.py')
| -rw-r--r-- | tests/test_libmat2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index 2f7d0c5..6a2af91 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py | |||
| @@ -96,7 +96,7 @@ class TestGetMeta(unittest.TestCase): | |||
| 96 | p = audio.FLACParser('./tests/data/dirty.flac') | 96 | p = audio.FLACParser('./tests/data/dirty.flac') |
| 97 | meta = p.get_meta() | 97 | meta = p.get_meta() |
| 98 | self.assertEqual(meta['title'], 'I am so') | 98 | self.assertEqual(meta['title'], 'I am so') |
| 99 | self.assertEqual(meta['Picture'], 'Cover') | 99 | self.assertEqual(meta['Cover 0'], {'Comment': 'Created with GIMP'}) |
| 100 | 100 | ||
| 101 | def test_docx(self): | 101 | def test_docx(self): |
| 102 | p = office.MSOfficeParser('./tests/data/dirty.docx') | 102 | p = office.MSOfficeParser('./tests/data/dirty.docx') |
