mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
updated to pass pep8 checks
This commit is contained in:
parent
fdeef05cc9
commit
578143ae12
2 changed files with 2 additions and 3 deletions
|
|
@ -166,6 +166,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
|
|||
clear_cmd.parser.add_option(
|
||||
u"-y", u"--yes", action="store_true", help=u"skip confirmation"
|
||||
)
|
||||
|
||||
def clear_func(lib, opts, args):
|
||||
items = lib.items(decargs(args))
|
||||
# Confirm with user.
|
||||
|
|
|
|||
|
|
@ -204,9 +204,8 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
|
|||
self.io.addinput('y')
|
||||
self.run_command('clearart')
|
||||
mediafile = MediaFile(syspath(item.path))
|
||||
#print(mediafile.images[0].data == self.image_data)
|
||||
self.assertEqual(len(mediafile.images), 0)
|
||||
|
||||
|
||||
def test_clear_art_with_no_input(self):
|
||||
self._setup_data()
|
||||
album = self.add_album_fixture()
|
||||
|
|
@ -216,7 +215,6 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
|
|||
self.io.addinput('n')
|
||||
self.run_command('clearart')
|
||||
mediafile = MediaFile(syspath(item.path))
|
||||
#print(mediafile.images[0].data == self.image_data)
|
||||
self.assertEqual(mediafile.images[0].data, self.image_data)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue