test: remove tests that require credentials
This commit is contained in:
+3
-13
@@ -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)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user