Commit b8c92fec authored by jvoisin's avatar jvoisin
Browse files

Fix the testsuite

parent 2405df04
Pipeline #23533 passed with stages
in 13 minutes and 10 seconds
......@@ -63,5 +63,6 @@ tests:fedora:
stage: test
allow_failure: true
- python3 -m unittest discover -v
......@@ -38,7 +38,7 @@ class MP3Parser(MutagenParser):
metadata = {} # type: Dict[str, Union[str, dict]]
meta = mutagen.File(self.filename).tags
for key in meta:
if not hasattr(meta[key], 'text'):
if not hasattr(meta[key], 'text'): # pragma: no cover
metadata[key.rstrip(' \t\r\n\0')] = ', '.join(map(str, meta[key].text))
return metadata
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment