mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[subtitles-tests] Fix youtube test
It returns now a single info_dict
This commit is contained in:
parent
933605d7e8
commit
9d8d675e0e
1 changed files with 0 additions and 4 deletions
|
@ -36,10 +36,6 @@ class TestYoutubeSubtitles(BaseTestSubtitles):
|
||||||
url = 'QRS8MkLhQmM'
|
url = 'QRS8MkLhQmM'
|
||||||
IE = YoutubeIE
|
IE = YoutubeIE
|
||||||
|
|
||||||
def getSubtitles(self):
|
|
||||||
info_dict = self.getInfoDict()
|
|
||||||
return info_dict[0]['subtitles']
|
|
||||||
|
|
||||||
def test_youtube_no_writesubtitles(self):
|
def test_youtube_no_writesubtitles(self):
|
||||||
self.DL.params['writesubtitles'] = False
|
self.DL.params['writesubtitles'] = False
|
||||||
subtitles = self.getSubtitles()
|
subtitles = self.getSubtitles()
|
||||||
|
|
Loading…
Reference in a new issue