mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-26 19:05:13 +00:00
test: stop five API option tests reading the local config and binaries.
This commit is contained in:
@@ -95,7 +95,8 @@ def test_api_refuses_two_ids(payload: dict) -> None:
|
||||
|
||||
|
||||
@pytest.mark.parametrize("payload", [{"tmdb_id": 27205}, {"imdb_id": "tt1375666"}, {"tvdb_id": 73871}, {}])
|
||||
def test_api_accepts_one_id(payload: dict) -> None:
|
||||
def test_api_accepts_one_id(payload: dict, monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
with_keys(monkeypatch, tmdb_api_key="k", tvdb_api_key="k")
|
||||
assert validate_download_parameters(payload) is None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user