aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-09-27 11:29:16 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-09-27 11:29:16 +0530
commit91dd88b90f52c4bdb250db22bca6928f2c7c5551 (patch)
tree02d008ecaf5e1121bc71299eba203840f8784a04 /test/test_YoutubeDL.py
parentd31dab70847aeedd9992f5921dfcf270e29b02ea (diff)
downloadhypervideo-pre-91dd88b90f52c4bdb250db22bca6928f2c7c5551.tar.lz
hypervideo-pre-91dd88b90f52c4bdb250db22bca6928f2c7c5551.tar.xz
hypervideo-pre-91dd88b90f52c4bdb250db22bca6928f2c7c5551.zip
[outtmpl] Alternate form of format type `l` for `\n` delimited list
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index f6483575f..e74658945 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -765,6 +765,7 @@ class TestYoutubeDL(unittest.TestCase):
# Custom type casting
test('%(formats.:.id)l', 'id1, id2, id3')
+ test('%(formats.:.id)#l', ('id1\nid2\nid3', 'id1 id2 id3'))
test('%(ext)l', 'mp4')
test('%(formats.:.id) 15l', ' id1, id2, id3')
test('%(formats)j', (json.dumps(FORMATS), sanitize(json.dumps(FORMATS))))