diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-07-11 11:06:33 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-07-11 11:06:33 +0200 |
commit | ebf361ce1814f6cca1c9e630cfe19a9ed59d9fff (patch) | |
tree | 21e01de25f1a6722bedf8f10fdcee9db727293d3 /test/test_playlists.py | |
parent | 953b3586687f859d8b9fc7e8d9c155fb360ee587 (diff) | |
parent | 3941669d691b337aa4bb1b13648a0573c37abd6e (diff) |
Merge remote-tracking branch 'azeem/soundcloud_likes'
Diffstat (limited to 'test/test_playlists.py')
-rw-r--r-- | test/test_playlists.py | 8 |
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) |