]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/test_subtitles.py
Merge tag 'upstream/2014.06.07'
[youtubedl] / 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')