projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The test video for subtitles has added a new language
[youtube-dl]
/
test
/
test_youtube_subtitles.py
diff --git
a/test/test_youtube_subtitles.py
b/test/test_youtube_subtitles.py
index 30f2246dd95e5ec4f68d6e05eb727c528de4dce9..b4909091b9216b2b426ca599882b21e2abc6820e 100644
(file)
--- a/
test/test_youtube_subtitles.py
+++ b/
test/test_youtube_subtitles.py
@@
-80,7
+80,7
@@
class TestYoutubeSubtitles(unittest.TestCase):
IE = YoutubeIE(DL)
info_dict = IE.extract('QRS8MkLhQmM')
subtitles = info_dict[0]['subtitles']
IE = YoutubeIE(DL)
info_dict = IE.extract('QRS8MkLhQmM')
subtitles = info_dict[0]['subtitles']
- self.assertEqual(len(subtitles), 1
2
)
+ self.assertEqual(len(subtitles), 1
3
)
def test_youtube_subtitles_format(self):
DL = FakeDownloader()
DL.params['writesubtitles'] = True
def test_youtube_subtitles_format(self):
DL = FakeDownloader()
DL.params['writesubtitles'] = True