Browse Source

The test video for subtitles has added a new language

master
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
49da66e459
1 changed files with 1 additions and 1 deletions
  1. 2
      test/test_youtube_subtitles.py

2
test/test_youtube_subtitles.py

@ -80,7 +80,7 @@ class TestYoutubeSubtitles(unittest.TestCase):
IE = YoutubeIE(DL) IE = YoutubeIE(DL)
info_dict = IE.extract('QRS8MkLhQmM') info_dict = IE.extract('QRS8MkLhQmM')
subtitles = info_dict[0]['subtitles'] subtitles = info_dict[0]['subtitles']
self.assertEqual(len(subtitles), 12)
self.assertEqual(len(subtitles), 13)
def test_youtube_subtitles_format(self): def test_youtube_subtitles_format(self):
DL = FakeDownloader() DL = FakeDownloader()
DL.params['writesubtitles'] = True DL.params['writesubtitles'] = True

Loading…
Cancel
Save