mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 14:15:37 +01:00
Fix the test for dailymotion subtitles
The extractor returns a single info_dict now.
This commit is contained in:
parent
9f1109a564
commit
0ef7ad5cd4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user