From: Jaime Marquínez Ferrándiz Date: Thu, 31 Oct 2013 06:55:03 +0000 (+0100) Subject: Fix the test for dailymotion subtitles X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0ef7ad5cd49d527a24c62e831cf80f2eb443276f;p=youtube-dl Fix the test for dailymotion subtitles The extractor returns a single info_dict now. --- diff --git a/test/test_dailymotion_subtitles.py b/test/test_dailymotion_subtitles.py index c596415c4..ba3580ea4 100644 --- a/test/test_dailymotion_subtitles.py +++ b/test/test_dailymotion_subtitles.py @@ -22,7 +22,7 @@ class TestDailymotionSubtitles(unittest.TestCase): return info_dict def getSubtitles(self): info_dict = self.getInfoDict() - return info_dict[0]['subtitles'] + return info_dict['subtitles'] def test_no_writesubtitles(self): subtitles = self.getSubtitles() self.assertEqual(subtitles, None)