X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/10a4858d8f3fd714a2f8c4664eabf06ad7648ea5..cc52de43568d8cd58c7e2ef4e5cecf609da28a9c:/test/test_aes.py diff --git a/test/test_aes.py b/test/test_aes.py index ef1e1b189..4fd87ce22 100644 --- a/test/test_aes.py +++ b/test/test_aes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import unicode_literals @@ -8,8 +8,8 @@ import unittest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -from youtube_dlc.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, aes_cbc_encrypt, aes_decrypt_text -from youtube_dlc.utils import bytes_to_intlist, intlist_to_bytes +from yt_dlp.aes import aes_decrypt, aes_encrypt, aes_cbc_decrypt, aes_cbc_encrypt, aes_decrypt_text +from yt_dlp.utils import bytes_to_intlist, intlist_to_bytes import base64 # the encrypted data can be generate with 'devscripts/generate_aes_testdata.py'