mirror of
https://github.com/beetbox/beets.git
synced 2026-07-16 17:48:54 -04:00
test: convert test_fetchart to TestHelper
Signed-off-by: Ross Williams <ross@ross-williams.net>
This commit is contained in:
@@ -4,15 +4,15 @@ import sys
|
||||
from unittest import mock
|
||||
|
||||
from beets import util
|
||||
from beets.test.helper import IOMixin, PluginTestCase
|
||||
from beets.test.helper import IOMixin, PluginTestHelper
|
||||
from beetsplug.fetchart import FetchArtPlugin, FileSystem
|
||||
|
||||
|
||||
class FetchartCliTest(IOMixin, PluginTestCase):
|
||||
class TestFetchartCli(IOMixin, PluginTestHelper):
|
||||
plugin = "fetchart"
|
||||
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
def setup_beets(self):
|
||||
super().setup_beets()
|
||||
self.config["fetchart"]["cover_names"] = "c\xc3\xb6ver.jpg"
|
||||
self.config["art_filename"] = "mycover"
|
||||
self.album = self.add_album()
|
||||
|
||||
Reference in New Issue
Block a user