diff --git a/tests/authtests.py b/tests/authtests.py index 540db5f..a0e7e3b 100644 --- a/tests/authtests.py +++ b/tests/authtests.py @@ -86,6 +86,11 @@ class AuthTestSpotipy(unittest.TestCase): albums = spotify.current_user_saved_albums() self.assertTrue(len(albums['items']) > 0) + def test_current_user_playlists(self): + playlists = spotify.current_user_playlists(limit=10) + self.assertTrue('items' in playlists) + self.assertTrue(len(playlists['items']) == 10) + def test_current_user_save_and_unsave_tracks(self): tracks = spotify.current_user_saved_tracks() total = tracks['total']