コード例 #1
0
 def test_ivi_compilation(self):
     dl = FakeYDL()
     ie = IviCompilationIE(dl)
     result = ie.extract('http://www.ivi.ru/watch/dvoe_iz_lartsa')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], 'dvoe_iz_lartsa')
     self.assertEqual(result['title'], 'Двое из ларца (2006 - 2008)')
     assertGreaterEqual(self, len(result['entries']), 24)