aboutsummaryrefslogtreecommitdiff
path: root/test/test_dailymotion_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_dailymotion_subtitles.py
parent505c28aac90fbee46f0d54945b27e115f90785f2 (diff)
[subtitles] removed only-sub option (--skip-download achieves the same
functionality)
Diffstat (limited to 'test/test_dailymotion_subtitles.py')
-rw-r--r--test/test_dailymotion_subtitles.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_dailymotion_subtitles.py b/test/test_dailymotion_subtitles.py
index f63426a18..32e3f6abe 100644
--- a/test/test_dailymotion_subtitles.py
+++ b/test/test_dailymotion_subtitles.py
@@ -46,14 +46,6 @@ class TestDailymotionSubtitles(unittest.TestCase):
info_dict = IE.extract(TEST_URL)
sub = info_dict[0]['subtitles']['fr']
self.assertEqual(md5(sub), '594564ec7d588942e384e920e5341792')
- def test_onlysubtitles(self):
- DL = FakeYDL()
- DL.params['writesubtitles'] = True
- DL.params['onlysubtitles'] = True
- IE = DailymotionIE(DL)
- info_dict = IE.extract(TEST_URL)
- sub = info_dict[0]['subtitles']['en']
- self.assertEqual(md5(sub), '976553874490cba125086bbfea3ff76f')
def test_allsubtitles(self):
DL = FakeYDL()
DL.params['allsubtitles'] = True