refactor(api): give every served service its dl options from the run plan

This commit is contained in:
imSp4rky
2026-11-28 14:02:44 -07:00
parent 63dd037ebd
commit 053d83874d
18 changed files with 285 additions and 205 deletions
+2 -2
View File
@@ -202,9 +202,9 @@ async def test_list_tracks_service_sees_dl_params(seen):
@pytest.mark.asyncio
async def test_search_service_gets_no_dl_params(seen):
async def test_search_service_sees_dl_params(seen):
await handlers.search_handler({"service": "EXAMPLE", "query": "q", "dl_params": {"a_lang": ["es-419"]}})
assert "a_lang" not in seen["parent_params"]
assert seen["parent_params"]["a_lang"] == ["es-419"]
@pytest.mark.asyncio