diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-04-20 03:06:50 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-04-20 03:06:50 +0700 |
commit | 3a9d6790ad1e897d274e4817de5a7aff00e30ddf (patch) | |
tree | 9737e2ad8713d8a458ac09230ebbf9adbdaeae19 /test/test_playlists.py | |
parent | 0610a3e0b201bd9c58d8983cd96c1d5545134b92 (diff) |
[ivi] Update playlist tests
Diffstat (limited to 'test/test_playlists.py')
-rw-r--r-- | test/test_playlists.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py index 17f1e5fab..02fcde1f7 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -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() |