[subtitles-tests] Fix youtube test

It returns now a single info_dict
pull/2036/head
Jaime Marquínez Ferrándiz 11 years ago
parent 933605d7e8
commit 9d8d675e0e

@ -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()

Loading…
Cancel
Save