From 090b62f5b0713af7da0b38e1fb7978318ece2dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sat, 10 Aug 2024 00:32:15 +0100 Subject: [PATCH] Make this test ignore my local beets config --- test/test_mb.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_mb.py b/test/test_mb.py index afb736779..37b5c0fff 100644 --- a/test/test_mb.py +++ b/test/test_mb.py @@ -12,10 +12,8 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -"""Tests for MusicBrainz API wrapper. -""" +"""Tests for MusicBrainz API wrapper.""" -import unittest from unittest import mock from beets import config @@ -761,7 +759,7 @@ class ArtistFlatteningTest(BeetsTestCase): assert flat == ("ALIASfr_P", "ALIASSORTfr_P", "CREDIT") -class MBLibraryTest(unittest.TestCase): +class MBLibraryTest(BeetsTestCase): def test_match_track(self): with mock.patch("musicbrainzngs.search_recordings") as p: p.return_value = {