[ivi] Update playlist tests
authorSergey M․ <dstftw@gmail.com>
Sat, 19 Apr 2014 20:06:50 +0000 (03:06 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 19 Apr 2014 20:06:50 +0000 (03:06 +0700)
test/test_playlists.py

index 17f1e5fab9df746ac974917b14ca2e75a0c44f45..02fcde1f7a2db1bc1ea853c269f25c9bf13027b4 100644 (file)
@@ -192,8 +192,8 @@ class TestPlaylists(unittest.TestCase):
         self.assertIsPlaylist(result)
         self.assertEqual(result['id'], 'dezhurnyi_angel')
         self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012)')
-        self.assertTrue(len(result['entries']) >= 36)
-        
+        self.assertTrue(len(result['entries']) >= 23)
+
     def test_ivi_compilation_season(self):
         dl = FakeYDL()
         ie = IviCompilationIE(dl)
@@ -201,7 +201,7 @@ class TestPlaylists(unittest.TestCase):
         self.assertIsPlaylist(result)
         self.assertEqual(result['id'], 'dezhurnyi_angel/season2')
         self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012) 2 сезон')
-        self.assertTrue(len(result['entries']) >= 20)
+        self.assertTrue(len(result['entries']) >= 7)
         
     def test_imdb_list(self):
         dl = FakeYDL()