mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-04 06:55:09 +00:00
feat(drm): license a plugin DRM at the licence step and over --remote with the client's plugin device
This commit is contained in:
@@ -737,7 +737,7 @@ def _sent_create_data(parent_params: dict, service_params: dict) -> dict:
|
||||
def test_open_session_posts_what_session_request_builds() -> None:
|
||||
parent = {"profile": "work", "lang": ["en"], "range_": [Video.Range.DV], "quality": [1080]}
|
||||
data = _sent_create_data(parent, {"lang": 3})
|
||||
sent = {k: v for k, v in data.items() if k not in ("service", "title_id", "client", "session_id")}
|
||||
sent = {k: v for k, v in data.items() if k not in ("service", "title_id", "client", "session_id", "plugins")}
|
||||
assert sent == session_request({"no_proxy": True, **parent}, {"lang": 3})
|
||||
assert sent["dl_params"]["lang"] == ["en"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user