mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-06 07:55:10 +00:00
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -190,12 +190,3 @@ def test_a_failed_own_licence_with_only_another_kids_key_stops_a_remote_run(tmp_
|
||||
licence_step(MemoryKeySource(local_cdm=DEVICE, client_licensed={"vid"}), dash_track(drm), drm, None, tmp_path)
|
||||
|
||||
assert DOWNLOAD_CANCELLED.is_set()
|
||||
|
||||
|
||||
def test_a_local_run_still_takes_another_kids_key_for_a_failed_licence(tmp_path, caplog):
|
||||
drm = own_widevine(KID, OTHER, refuse=ValueError("own CDM refused"))
|
||||
drm.content_keys[OTHER] = "cd" * 16
|
||||
|
||||
licence_step(None, dash_track(drm), drm, None, tmp_path)
|
||||
|
||||
assert "Licence failed, using the 1 known key(s)" in caplog.text
|
||||
|
||||
Reference in New Issue
Block a user