Skip to content
Snippets Groups Projects
Commit 9f631a1b authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Bump a bit the coverage

parent c2ef35d1
No related branches found
No related tags found
No related merge requests found
......@@ -85,3 +85,9 @@ class TestCorruptedFiles(unittest.TestCase):
with self.assertRaises(ValueError):
audio.MP3Parser('./tests/data/clean.mp3')
os.remove('./tests/data/clean.mp3')
def test_jpg(self):
shutil.copy('./tests/data/dirty.mp3', './tests/data/clean.jpg')
with self.assertRaises(ValueError):
images.JPGParser('./tests/data/clean.jpg')
os.remove('./tests/data/clean.jpg')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment