diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-17 23:53:55 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-09-30 03:32:52 +0530 |
commit | e6f21b3d925ea708955c60c400a31fc2e0e36ac0 (patch) | |
tree | cb117990190a9c70f777add26ab28228dcab7b79 /test/test_YoutubeDL.py | |
parent | d710cc6d3660b7bb79cbbefe1f0faec6726b020c (diff) | |
download | hypervideo-pre-e6f21b3d925ea708955c60c400a31fc2e0e36ac0.tar.lz hypervideo-pre-e6f21b3d925ea708955c60c400a31fc2e0e36ac0.tar.xz hypervideo-pre-e6f21b3d925ea708955c60c400a31fc2e0e36ac0.zip |
[docs,cleanup] Some minor refactoring and improve docs
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r-- | test/test_YoutubeDL.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index e74658945..450f25493 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -653,6 +653,7 @@ class TestYoutubeDL(unittest.TestCase): 'timestamp': 1618488000, 'duration': 100000, 'playlist_index': 1, + 'playlist_autonumber': 2, '_last_playlist_index': 100, 'n_entries': 10, 'formats': [{'id': 'id1'}, {'id': 'id2'}, {'id': 'id3'}] @@ -690,6 +691,7 @@ class TestYoutubeDL(unittest.TestCase): test('%(duration_string)s', ('27:46:40', '27-46-40')) test('%(resolution)s', '1080p') test('%(playlist_index)s', '001') + test('%(playlist_autonumber)s', '02') test('%(autonumber)s', '00001') test('%(autonumber+2)03d', '005', autonumber_start=3) test('%(autonumber)s', '001', autonumber_size=3) |