[downloader/hls] Disable decryption in tests (#27660)
authorKevin O'Connor <kevin@kevo.io>
Mon, 4 Jan 2021 18:24:01 +0000 (13:24 -0500)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 18:24:01 +0000 (01:24 +0700)
commit766fcdd0fad8495222b2b5a14f1626960cd79d89
tree26118e663fc93aebd9e7b9020303dbab39fc84ee
parentf6ea29e24bf67d13d21de3c623975891a8d61ac1
[downloader/hls] Disable decryption in tests (#27660)

Tests truncate the download to 10241 bytes, which is not divisible by 16
and cannot be decrypted. Tests don't really care about the decrypted
content, just that the data they retrieved is the expected data.
Therefore, it's fine to just return the encrypted data to tests.

See: #27621 and #27620
youtube_dl/downloader/hls.py