1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 19:03:02 +08:00

[subtitles-tests] Fix youtube test

It returns now a single info_dict
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-12-23 10:40:28 +01:00
parent 933605d7e8
commit 9d8d675e0e

View File

@ -36,10 +36,6 @@ class TestYoutubeSubtitles(BaseTestSubtitles):
url = 'QRS8MkLhQmM'
IE = YoutubeIE
def getSubtitles(self):
info_dict = self.getInfoDict()
return info_dict[0]['subtitles']
def test_youtube_no_writesubtitles(self):
self.DL.params['writesubtitles'] = False
subtitles = self.getSubtitles()