test: stop five API option tests reading the local config and binaries.

This commit is contained in:
imSp4rky
2026-11-25 17:01:15 -07:00
parent 35e0d827fa
commit 5b96918b7e
4 changed files with 11 additions and 4 deletions
+2 -1
View File
@@ -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