test: convert test_fetchart to TestHelper

Signed-off-by: Ross Williams <ross@ross-williams.net>
This commit is contained in:
Ross Williams
2026-07-01 19:56:33 +02:00
parent c3de685484
commit 77405266eb

View File

@@ -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()