aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-11 11:06:33 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-11 11:06:33 +0200
commitebf361ce1814f6cca1c9e630cfe19a9ed59d9fff (patch)
tree21e01de25f1a6722bedf8f10fdcee9db727293d3 /test
parent953b3586687f859d8b9fc7e8d9c155fb360ee587 (diff)
parent3941669d691b337aa4bb1b13648a0573c37abd6e (diff)
Merge remote-tracking branch 'azeem/soundcloud_likes'
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)