mirror of
https://github.com/beetbox/beets.git
synced 2026-02-12 18:31:48 +01:00
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:
parent
a8477264ac
commit
88baf1979e
1 changed files with 2 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue