From: Philipp Hagemeister Date: Mon, 21 Apr 2014 11:20:14 +0000 (+0200) Subject: [test_subtitles] Allow more subtitles for TED videos X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0321213c1197b784aed884b10d5d63c2b396805c;p=youtube-dl [test_subtitles] Allow more subtitles for TED videos --- 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')