diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-27 11:29:16 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-27 11:29:16 +0530 |
commit | 91dd88b90f52c4bdb250db22bca6928f2c7c5551 (patch) | |
tree | 02d008ecaf5e1121bc71299eba203840f8784a04 /test/test_YoutubeDL.py | |
parent | d31dab70847aeedd9992f5921dfcf270e29b02ea (diff) | |
download | hypervideo-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.py | 1 |
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)))) |