mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix the test for dailymotion subtitles
The extractor returns a single info_dict now.
This commit is contained in:
parent
9f1109a564
commit
0ef7ad5cd4
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def getInfoDict(self):
|
||||||
return info_dict
|
return info_dict
|
||||||
def getSubtitles(self):
|
def getSubtitles(self):
|
||||||
info_dict = self.getInfoDict()
|
info_dict = self.getInfoDict()
|
||||||
return info_dict[0]['subtitles']
|
return info_dict['subtitles']
|
||||||
def test_no_writesubtitles(self):
|
def test_no_writesubtitles(self):
|
||||||
subtitles = self.getSubtitles()
|
subtitles = self.getSubtitles()
|
||||||
self.assertEqual(subtitles, None)
|
self.assertEqual(subtitles, None)
|
||||||
|
|
Loading…
Reference in a new issue