refactor(drm): hand the server key batch to one installer as a KeyBatch value

This commit is contained in:
imSp4rky
2026-12-02 20:05:08 -07:00
parent fef6898823
commit 46a3bc0ad2
20 changed files with 379 additions and 265 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ def test_a_lent_device_without_the_vault_grant_asks_the_server_for_no_key() -> N
svc.client = SimpleNamespace(post=lambda *a, **k: pytest.fail("the server refuses every key request"))
track = SimpleNamespace(id="vid", drm=None)
svc.resolve_server_keys(SimpleNamespace(tracks=SimpleNamespace(videos=[track], audio=[])))
svc.batch_keys(SimpleNamespace(tracks=SimpleNamespace(videos=[track], audio=[])))
with pytest.raises(click.ClickException, match="cannot read the server vault"):
svc.license_track(track, None)