diff options
| author | Sergey M․ <dstftw@gmail.com> | 2014-05-30 19:12:55 +0700 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2014-05-30 19:12:55 +0700 | 
| commit | 6ebb46c106fbcd42dba7c5cdba41b78309d13fb3 (patch) | |
| tree | 1059ad4bce29d775836643ca312c72af0582d6fb /test/test_playlists.py | |
| parent | 0f97c9a06f3c4f9eca0859b93809308fadf1d1b0 (diff) | |
[ivi] Replace tests
Diffstat (limited to 'test/test_playlists.py')
| -rw-r--r-- | test/test_playlists.py | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/test/test_playlists.py b/test/test_playlists.py index 63d31db8c..057ce43f0 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -209,20 +209,20 @@ class TestPlaylists(unittest.TestCase):      def test_ivi_compilation(self):          dl = FakeYDL()          ie = IviCompilationIE(dl) -        result = ie.extract('http://www.ivi.ru/watch/dezhurnyi_angel') +        result = ie.extract('http://www.ivi.ru/watch/dvoe_iz_lartsa')          self.assertIsPlaylist(result) -        self.assertEqual(result['id'], 'dezhurnyi_angel') -        self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012)') -        self.assertTrue(len(result['entries']) >= 16) +        self.assertEqual(result['id'], 'dvoe_iz_lartsa') +        self.assertEqual(result['title'], 'Двое из ларца (2006 - 2008)') +        self.assertTrue(len(result['entries']) >= 24)      def test_ivi_compilation_season(self):          dl = FakeYDL()          ie = IviCompilationIE(dl) -        result = ie.extract('http://www.ivi.ru/watch/dezhurnyi_angel/season1') +        result = ie.extract('http://www.ivi.ru/watch/dvoe_iz_lartsa/season1')          self.assertIsPlaylist(result) -        self.assertEqual(result['id'], 'dezhurnyi_angel/season1') -        self.assertEqual(result['title'], 'Дежурный ангел (2010 - 2012) 1 сезон') -        self.assertTrue(len(result['entries']) >= 16) +        self.assertEqual(result['id'], 'dvoe_iz_lartsa/season1') +        self.assertEqual(result['title'], 'Двое из ларца (2006 - 2008) 1 сезон') +        self.assertTrue(len(result['entries']) >= 12)      def test_imdb_list(self):          dl = FakeYDL() | 
