[subtitles-tests] Fix youtube test
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 23 Dec 2013 09:40:28 +0000 (10:40 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 23 Dec 2013 09:40:28 +0000 (10:40 +0100)
It returns now a single info_dict

test/test_subtitles.py

index 23a6531248ccd162155d61bcc3ac5621fb08a8f2..263b5ac698516f93b5c2d6eaffb7379cbf5459a5 100644 (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()