projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[scivee] Skip test for now
[youtube-dl]
/
test
/
test_subtitles.py
diff --git
a/test/test_subtitles.py
b/test/test_subtitles.py
index d2f5b050d08d3c112fc79b70318d004f56e3f219..5736fe58112fc88b5ae15a53863221aa806ba4eb 100644
(file)
--- a/
test/test_subtitles.py
+++ b/
test/test_subtitles.py
@@
-181,7
+181,7
@@
class TestTedSubtitles(BaseTestSubtitles):
self.DL.params['writesubtitles'] = True
self.DL.params['allsubtitles'] = True
subtitles = self.getSubtitles()
self.DL.params['writesubtitles'] = True
self.DL.params['allsubtitles'] = True
subtitles = self.getSubtitles()
- self.assert
Equal(len(subtitles.keys()),
28)
+ self.assert
True(len(subtitles.keys()) >=
28)
def test_list_subtitles(self):
self.DL.expect_warning(u'Automatic Captions not supported by this server')
def test_list_subtitles(self):
self.DL.expect_warning(u'Automatic Captions not supported by this server')
@@
-227,7
+227,7
@@
class TestBlipTVSubtitles(BaseTestSubtitles):
class TestVimeoSubtitles(BaseTestSubtitles):
url = 'http://vimeo.com/76979871'
IE = VimeoIE
class TestVimeoSubtitles(BaseTestSubtitles):
url = 'http://vimeo.com/76979871'
IE = VimeoIE
-
+
def test_no_writesubtitles(self):
subtitles = self.getSubtitles()
self.assertEqual(subtitles, None)
def test_no_writesubtitles(self):
subtitles = self.getSubtitles()
self.assertEqual(subtitles, None)