diff --git a/test/plugins/test_the.py b/test/plugins/test_the.py index c8f919de2..f0f8e1d0d 100644 --- a/test/plugins/test_the.py +++ b/test/plugins/test_the.py @@ -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 (