refactor(remote): hold who licenses a remote session as one licensing mode

This commit is contained in:
imSp4rky
2026-11-29 10:16:08 -07:00
parent d4af4c77f4
commit efd8ca65c7
18 changed files with 458 additions and 160 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ def test_cdm_only_declines_the_server_cdm_and_its_vault(monkeypatch, tmp_path) -
try:
svc.authenticate()
assert svc.posts[0]["server_cdm"] is False
assert (svc.key_arrival, svc._server_vault) == (KeyArrival.CALLBACK, False)
assert (svc.key_arrival, svc.licensing.vault_first) == (KeyArrival.CALLBACK, False)
svc.resolve_server_keys(SimpleNamespace(tracks=SimpleNamespace(videos=["v"], audio=[])))
assert len(svc.posts) == 1
finally: