mirror of
https://github.com/beetbox/beets.git
synced 2026-07-16 17:48:54 -04:00
the: Removed unittest.TestCase
This commit is contained in:
committed by
Sebastian Mohr
parent
c04bae3c8f
commit
9616065591
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user