|
|
@ -87,7 +87,7 @@ class TestYoutubeSubtitles(BaseTestSubtitles):
|
|
|
|
|
|
|
|
|
|
|
|
def test_youtube_nosubtitles(self):
|
|
|
|
def test_youtube_nosubtitles(self):
|
|
|
|
self.DL.expect_warning(u'video doesn\'t have subtitles')
|
|
|
|
self.DL.expect_warning(u'video doesn\'t have subtitles')
|
|
|
|
self.url = 'sAjKT8FhjI8'
|
|
|
|
self.url = 'n5BB19UTcdA'
|
|
|
|
self.DL.params['writesubtitles'] = True
|
|
|
|
self.DL.params['writesubtitles'] = True
|
|
|
|
self.DL.params['allsubtitles'] = True
|
|
|
|
self.DL.params['allsubtitles'] = True
|
|
|
|
subtitles = self.getSubtitles()
|
|
|
|
subtitles = self.getSubtitles()
|
|
|
|