diff --git a/api/tests/conftest.py b/api/tests/conftest.py index d241db5a7..99d943b20 100644 --- a/api/tests/conftest.py +++ b/api/tests/conftest.py @@ -429,3 +429,8 @@ def clear_license_cache(db): @pytest.fixture def faker(): return factory.Faker._get_faker() + + +@pytest.fixture() +def dont_check_mbid(settings): + settings.ONLY_ALLOW_MUSICBRAINZ_TAGGED_FILES = False diff --git a/api/tests/test_import_audio_file.py b/api/tests/test_import_audio_file.py index 398b7aaa1..f096788f1 100644 --- a/api/tests/test_import_audio_file.py +++ b/api/tests/test_import_audio_file.py @@ -364,7 +364,7 @@ def test_handle_modified_update_existing_path_if_found_and_attributed_to( update_track_metadata.assert_not_called() -def test_import_files(factories, capsys): +def test_import_files(factories, capsys, dont_check_mbid): # smoke test to ensure the command run properly library = factories["music.Library"](actor__local=True) call_command(