forked from kenzuya/unshackle
refactor(api): give every served service its dl options from the run plan
This commit is contained in:
@@ -74,4 +74,4 @@ def test_a_remote_session_gets_quality_as_heights(monkeypatch: pytest.MonkeyPatc
|
||||
def test_a_remote_session_refuses_a_malformed_quality(monkeypatch: pytest.MonkeyPatch, quality: str) -> None:
|
||||
with pytest.raises(handlers.APIError) as exc:
|
||||
session_params(monkeypatch, {"quality": quality})
|
||||
assert exc.value.error_code == handlers.APIErrorCode.INVALID_INPUT
|
||||
assert exc.value.error_code == handlers.APIErrorCode.INVALID_PARAMETERS
|
||||
|
||||
Reference in New Issue
Block a user