mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 08:39:24 +02:00
Federation scanning
This commit is contained in:
parent
a3875e3918
commit
125d0eed5e
21 changed files with 450 additions and 80 deletions
|
@ -271,6 +271,15 @@ def media_root(settings):
|
|||
shutil.rmtree(tmp_dir)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def disabled_musicbrainz(mocker):
|
||||
# we ensure no music brainz requests gets out
|
||||
yield mocker.patch(
|
||||
"musicbrainzngs.musicbrainz._safe_read",
|
||||
side_effect=Exception("Disabled network calls"),
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def r_mock(requests_mock):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue