summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-04-21 13:20:14 +0200
committerPhilipp Hagemeister <[email protected]>2014-04-21 13:20:14 +0200
commit0321213c1197b784aed884b10d5d63c2b396805c (patch)
tree409e44f6ebe6c1aad45de8dd4a2d1848f322045c /test
parent3f0aae42447dffa00f4dafd66bffefc5ded68964 (diff)
downloadyoutube-dl-0321213c1197b784aed884b10d5d63c2b396805c.tar.gz
youtube-dl-0321213c1197b784aed884b10d5d63c2b396805c.zip
[test_subtitles] Allow more subtitles for TED videos
Diffstat (limited to 'test')
-rw-r--r--test/test_subtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_subtitles.py b/test/test_subtitles.py
index 79991e646..5736fe581 100644
--- 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.assertEqual(len(subtitles.keys()), 28)
+ self.assertTrue(len(subtitles.keys()) >= 28)
def test_list_subtitles(self):
self.DL.expect_warning(u'Automatic Captions not supported by this server')