From 9616065591a44eb1a7b64fc03cc653cd4547096c Mon Sep 17 00:00:00 2001 From: Sebastian Mohr Date: Thu, 9 Jul 2026 12:30:45 +0200 Subject: [PATCH] the: Removed unittest.TestCase --- test/plugins/test_the.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 (