summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2014-05-26 00:16:10 +0700
committerSergey M․ <[email protected]>2014-05-26 00:16:10 +0700
commitcc5ada6f4c915c94b5439c31fb498b755f58e283 (patch)
tree2878ec917b84b2dfcbf4b20adfc98a9d0b714bb5 /test
parentdfb2e1a325236404c438fdbda73da8c6ca8383cd (diff)
downloadyoutube-dl-cc5ada6f4c915c94b5439c31fb498b755f58e283.tar.gz
youtube-dl-cc5ada6f4c915c94b5439c31fb498b755f58e283.zip
[ivi] Update playlist tests
Diffstat (limited to 'test')
-rw-r--r--test/test_playlists.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index cc871698a..63d31db8c 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -213,16 +213,16 @@ class TestPlaylists(unittest.TestCase):
self.assertIsPlaylist(result)
self.assertEqual(result['id'], 'dezhurnyi_angel')
self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012)')
- self.assertTrue(len(result['entries']) >= 23)
+ self.assertTrue(len(result['entries']) >= 16)
def test_ivi_compilation_season(self):
dl = FakeYDL()
ie = IviCompilationIE(dl)
- result = ie.extract('http://www.ivi.ru/watch/dezhurnyi_angel/season2')
+ result = ie.extract('http://www.ivi.ru/watch/dezhurnyi_angel/season1')
self.assertIsPlaylist(result)
- self.assertEqual(result['id'], 'dezhurnyi_angel/season2')
- self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012) 2 сезон')
- self.assertTrue(len(result['entries']) >= 7)
+ self.assertEqual(result['id'], 'dezhurnyi_angel/season1')
+ self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012) 1 сезон')
+ self.assertTrue(len(result['entries']) >= 16)
def test_imdb_list(self):
dl = FakeYDL()