diff options
author | Philipp Hagemeister <[email protected]> | 2014-04-21 13:20:14 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-04-21 13:20:14 +0200 |
commit | 0321213c1197b784aed884b10d5d63c2b396805c (patch) | |
tree | 409e44f6ebe6c1aad45de8dd4a2d1848f322045c /test | |
parent | 3f0aae42447dffa00f4dafd66bffefc5ded68964 (diff) | |
download | youtube-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.py | 2 |
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') |