test: remove tests that require credentials

This commit is contained in:
2026-04-06 06:05:18 +02:00
parent 8fabb0de86
commit a8335d9920
+3 -13
View File
@@ -91,26 +91,16 @@ def test_cache_search_fetcher_prefer_better_match(lrc_manager: LrcManager):
@pytest.mark.parametrize( @pytest.mark.parametrize(
"method, expect_fail", "method, expect_fail",
[ [
("spotify", False),
("lrclib", False), ("lrclib", False),
("lrclib-search", False), ("lrclib-search", False),
("musixmatch", False),
("musixmatch-spotify", False),
("netease", False), ("netease", False),
("qqmusic", False),
], ],
) )
def test_remote_fetchers( def test_anonymous_remote_fetchers(
lrc_manager: LrcManager, method: FetcherMethodType, expect_fail: bool lrc_manager: LrcManager, method: FetcherMethodType, expect_fail: bool
): ):
_fetch_and_assert(lrc_manager, method, expect_fail) _fetch_and_assert(lrc_manager, method, expect_fail)
@pytest.mark.parametrize( def test_local_fetcher(lrc_manager: LrcManager):
"method, expect_fail", _fetch_and_assert(lrc_manager, "local", True)
[("local", True)],
)
def test_local_fetcher(
lrc_manager: LrcManager, method: FetcherMethodType, expect_fail: bool
):
_fetch_and_assert(lrc_manager, method, expect_fail)