Skip to content

Commit 60dd5d7

Browse files
committed
Fix test_fuzzy tests
1 parent 6fbb949 commit 60dd5d7

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

test/plugins/test_fuzzy.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,10 @@
1515

1616
import pytest
1717

18-
from beets.test.helper import PluginMixin, TestHelper
18+
from beets.test.helper import PluginTestHelper
1919

2020

21-
@pytest.fixture
22-
def helper(request):
23-
helper = TestHelper()
24-
helper.setup_beets()
25-
26-
request.instance.lib = helper.lib
27-
request.instance.add_item = helper.add_item
28-
29-
yield
30-
31-
helper.teardown_beets()
32-
33-
34-
@pytest.mark.usefixtures("helper")
35-
class TestFuzzyPlugin(PluginMixin):
21+
class TestFuzzyPlugin(PluginTestHelper):
3622
plugin = "fuzzy"
3723

3824
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)