mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Make this test ignore my local beets config
This commit is contained in:
parent
d3bdd93bf6
commit
090b62f5b0
1 changed files with 2 additions and 4 deletions
|
|
@ -12,10 +12,8 @@
|
||||||
# The above copyright notice and this permission notice shall be
|
# The above copyright notice and this permission notice shall be
|
||||||
# included in all copies or substantial portions of the Software.
|
# 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 unittest import mock
|
||||||
|
|
||||||
from beets import config
|
from beets import config
|
||||||
|
|
@ -761,7 +759,7 @@ class ArtistFlatteningTest(BeetsTestCase):
|
||||||
assert flat == ("ALIASfr_P", "ALIASSORTfr_P", "CREDIT")
|
assert flat == ("ALIASfr_P", "ALIASSORTfr_P", "CREDIT")
|
||||||
|
|
||||||
|
|
||||||
class MBLibraryTest(unittest.TestCase):
|
class MBLibraryTest(BeetsTestCase):
|
||||||
def test_match_track(self):
|
def test_match_track(self):
|
||||||
with mock.patch("musicbrainzngs.search_recordings") as p:
|
with mock.patch("musicbrainzngs.search_recordings") as p:
|
||||||
p.return_value = {
|
p.return_value = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue