Ejemplo n.º 1
0
 def test_soundcloud_user(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], u'9615865')
     self.assertTrue(len(result['entries']) >= 12)
Ejemplo n.º 2
0
 def test_soundcloud_likes(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract("https://soundcloud.com/the-concept-band/likes")
     self.assertIsPlaylist(result)
     self.assertEqual(result["id"], "9615865")
     self.assertTrue(len(result["entries"]) >= 1)
Ejemplo n.º 3
0
 def test_soundcloud_likes(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band/likes')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '9615865')
     assertGreaterEqual(self, len(result['entries']), 1)
Ejemplo n.º 4
0
 def test_soundcloud_likes(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band/likes')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '9615865')
     assertGreaterEqual(self, len(result['entries']), 1)
Ejemplo n.º 5
0
 def test_soundcloud_user(self):
     dl = FakeYDL()
     ie = SoundcloudUserIE(dl)
     result = ie.extract('https://soundcloud.com/the-concept-band')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], u'9615865')
     self.assertTrue(len(result['entries']) >= 12)