feat(drm): license a plugin DRM at the licence step and over --remote with the client's plugin device

This commit is contained in:
imSp4rky
2026-12-03 15:51:42 -07:00
parent f1f91a7d5c
commit 0536056ed6
24 changed files with 803 additions and 136 deletions
+6 -4
View File
@@ -205,8 +205,10 @@ def test_a_served_service_gets_a_device_by_system_only_where_the_server_licenses
else:
launch_session("EXAMPLE", "t", {}, licensor=licensor)
cdm_for = seen["ctx"].obj.cdm_for
before = list(loads)
assert (cdm_for is not None) == served
if cdm_for:
cdm_for("example")
assert loads[-1] == ("EXAMPLE", None, "example")
gives = cdm_for("example") if cdm_for else None
assert (loads[len(before) :] == [("EXAMPLE", None, "example")]) == served
if not served:
assert gives is None