projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61ebb40
)
[test_subtitles] remove BlipTV test
author
remitamine
<remitamine@gmail.com>
Mon, 21 Dec 2015 15:52:47 +0000
(16:52 +0100)
committer
remitamine
<remitamine@gmail.com>
Mon, 21 Dec 2015 15:52:47 +0000
(16:52 +0100)
test/test_subtitles.py
patch
|
blob
|
history
diff --git
a/test/test_subtitles.py
b/test/test_subtitles.py
index 75f0ea75fccae82d74d0efba9c39906ff410d367..9ed9fe6225f3d5328f2e59509b9e4dcdaff6de07 100644
(file)
--- a/
test/test_subtitles.py
+++ b/
test/test_subtitles.py
@@
-11,7
+11,6
@@
from test.helper import FakeYDL, md5
from youtube_dl.extractor import (
from youtube_dl.extractor import (
- BlipTVIE,
YoutubeIE,
DailymotionIE,
TEDIE,
YoutubeIE,
DailymotionIE,
TEDIE,
@@
-145,18
+144,6
@@
class TestTedSubtitles(BaseTestSubtitles):
self.assertTrue(subtitles.get(lang) is not None, 'Subtitles for \'%s\' not extracted' % lang)
self.assertTrue(subtitles.get(lang) is not None, 'Subtitles for \'%s\' not extracted' % lang)
-class TestBlipTVSubtitles(BaseTestSubtitles):
- url = 'http://blip.tv/a/a-6603250'
- IE = BlipTVIE
-
- def test_allsubtitles(self):
- self.DL.params['writesubtitles'] = True
- self.DL.params['allsubtitles'] = True
- subtitles = self.getSubtitles()
- self.assertEqual(set(subtitles.keys()), set(['en']))
- self.assertEqual(md5(subtitles['en']), '5b75c300af65fe4476dff79478bb93e4')
-
-
class TestVimeoSubtitles(BaseTestSubtitles):
url = 'http://vimeo.com/76979871'
IE = VimeoIE
class TestVimeoSubtitles(BaseTestSubtitles):
url = 'http://vimeo.com/76979871'
IE = VimeoIE