aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 06:49:56 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 09:21:22 +0530
commit1619ab3e67d8dc4f86fc7ed292c79345bc0d91a0 (patch)
tree5f4b479f6e35588896630271fcd0aac32d2912f9 /test/test_YoutubeDL.py
parent84078a8b38f403495d00b46654c8750774d821de (diff)
downloadhypervideo-pre-1619ab3e67d8dc4f86fc7ed292c79345bc0d91a0.tar.lz
hypervideo-pre-1619ab3e67d8dc4f86fc7ed292c79345bc0d91a0.tar.xz
hypervideo-pre-1619ab3e67d8dc4f86fc7ed292c79345bc0d91a0.zip
Bugfix for ebe1b4e34f43c3acad30e4bcb8484681a030c114
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 05dd3ed41..f495fa6d9 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -631,6 +631,7 @@ class TestYoutubeDL(unittest.TestCase):
outtmpl_info = {
'id': '1234',
+ 'id': '1234',
'ext': 'mp4',
'width': None,
'height': 1080,
@@ -754,6 +755,7 @@ class TestYoutubeDL(unittest.TestCase):
test('%(ext)c', 'm')
test('%(id)d %(id)r', "1234 '1234'")
test('%(id)r %(height)r', "'1234' 1080")
+ test('%(title5)a %(height)a', (R"'\xe1\xe9\xed \U0001d400' 1080", None))
test('%(ext)s-%(ext|def)d', 'mp4-def')
test('%(width|0)04d', '0')
test('a%(width|b)d', 'ab', outtmpl_na_placeholder='none')