the: Removed unittest.TestCase

This commit is contained in:
Sebastian Mohr
2026-07-09 12:30:45 +02:00
committed by Sebastian Mohr
parent c04bae3c8f
commit 9616065591

View File

@@ -1,12 +1,15 @@
"""Tests for the 'the' plugin"""
import unittest
from typing import ClassVar
from beets import config
from beets.test.helper import PluginTestHelper
from beetsplug.the import FORMAT, PATTERN_A, PATTERN_THE, ThePlugin
class ThePluginTest(unittest.TestCase):
class TestThePlugin(PluginTestHelper):
plugin: ClassVar[str] = "the"
def test_unthe_with_default_patterns(self):
assert ThePlugin().unthe("", PATTERN_THE) == ""
assert (