[test_subtitles] Allow more subtitles for TED videos
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 21 Apr 2014 11:20:14 +0000 (13:20 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 21 Apr 2014 11:20:14 +0000 (13:20 +0200)
test/test_subtitles.py

index 79991e6462ac3b868a9ecbb98234e55df483e725..5736fe58112fc88b5ae15a53863221aa806ba4eb 100644 (file)
@@ -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')