aboutsummaryrefslogtreecommitdiff
path: root/test/test_youtube_subtitles.py
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-08-08 10:06:24 +0200
committerIsmael Mejia <iemejia@gmail.com>2013-08-08 10:06:24 +0200
commit33eb0ce4c4c515b30e5809f63f892b895601b442 (patch)
treed94341b6f01eeca7bcdbcc2e37627f94776ba548 /test/test_youtube_subtitles.py
parent505c28aac90fbee46f0d54945b27e115f90785f2 (diff)
[subtitles] removed only-sub option (--skip-download achieves the same
functionality)
Diffstat (limited to 'test/test_youtube_subtitles.py')
-rw-r--r--test/test_youtube_subtitles.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py
index fe0eac680..fe5d097ce 100644
--- a/test/test_youtube_subtitles.py
+++ b/test/test_youtube_subtitles.py
@@ -45,14 +45,6 @@ class TestYoutubeSubtitles(unittest.TestCase):
info_dict = IE.extract('QRS8MkLhQmM')
sub = info_dict[0]['subtitles']['it']
self.assertEqual(md5(sub), '164a51f16f260476a05b50fe4c2f161d')
- def test_youtube_onlysubtitles(self):
- DL = FakeYDL()
- DL.params['writesubtitles'] = True
- DL.params['onlysubtitles'] = True
- IE = YoutubeIE(DL)
- info_dict = IE.extract('QRS8MkLhQmM')
- sub = info_dict[0]['subtitles']['en']
- self.assertEqual(md5(sub), '4cd9278a35ba2305f47354ee13472260')
def test_youtube_allsubtitles(self):
DL = FakeYDL()
DL.params['allsubtitles'] = True