aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorazeem <kr00r4n@gmail.com>2014-07-07 23:51:02 +0530
committerazeem <kr00r4n@gmail.com>2014-07-07 23:59:57 +0530
commit3941669d691b337aa4bb1b13648a0573c37abd6e (patch)
treea4a6f1ef53e5fab2e8cee6257bcd0eccf5ac2376 /test
parent1fd015516e8bb276c798983c243d45b6dd5054dc (diff)
downloadyoutube-dl-3941669d691b337aa4bb1b13648a0573c37abd6e.tar.xz
[soundcloud] Adding likes support to SoundcloudUserIE
Diffstat (limited to 'test')
-rw-r--r--test/test_playlists.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index 994b1d4b0..3a88cf270 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -137,6 +137,14 @@ class TestPlaylists(unittest.TestCase):
self.assertEqual(result['id'], '9615865')
self.assertTrue(len(result['entries']) >= 12)
+ 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)
+
def test_soundcloud_playlist(self):
dl = FakeYDL()
ie = SoundcloudPlaylistIE(dl)