Exemple #1
0
 def test_rutube_channel(self):
     dl = FakeYDL()
     ie = RutubeChannelIE(dl)
     result = ie.extract("http://rutube.ru/tags/video/1800/")
     self.assertIsPlaylist(result)
     self.assertEqual(result["id"], "1800")
     self.assertTrue(len(result["entries"]) >= 68)
 def test_rutube_channel(self):
     dl = FakeYDL()
     ie = RutubeChannelIE(dl)
     result = ie.extract('http://rutube.ru/tags/video/1800/')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '1800')
     assertGreaterEqual(self, len(result['entries']), 68)
Exemple #3
0
 def test_rutube_channel(self):
     dl = FakeYDL()
     ie = RutubeChannelIE(dl)
     result = ie.extract('http://rutube.ru/tags/video/1409')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '1409')
     self.assertTrue(len(result['entries']) >= 34)
Exemple #4
0
 def test_rutube_channel(self):
     dl = FakeYDL()
     ie = RutubeChannelIE(dl)
     result = ie.extract('http://rutube.ru/tags/video/1800/')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '1800')
     assertGreaterEqual(self, len(result['entries']), 68)