Revert "Sometimes the extract art test failed because the file type of the extracted image might be PNG or JPG. Belongs to #1328."

This reverts commit c91e8cb782.
This commit is contained in:
Bruno Cauet 2015-02-20 12:55:23 +01:00
parent a8477264ac
commit 88baf1979e

View file

@ -124,11 +124,8 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
self.run_command('extractart', '-n', 'extracted')
path = os.path.join(albumpath.decode('utf-8'), 'extracted.')
found = any(map(lambda ext: os.path.exists(path + ext),
['png', 'jpeg', 'jpg']))
self.assertTrue(found, 'Extracted image was not found!')
self.assertExists(os.path.join(albumpath.decode('utf-8'),
'extracted.png'))
class EmbedartTest(unittest.TestCase):