]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/test_subtitles.py
Rename: debian/upstream-signing-key.asc -> debian/upstream/signing-key.asc
[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.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')
 
     def test_list_subtitles(self):
         self.DL.expect_warning(u'Automatic Captions not supported by this server')