This commit is contained in:
Stephane Bruckert committed 2020-01-16 03:55:50 +00:00
1 parent 83a1cb54ef
commit 2ab985a3c8
1 file changed
+3 -1
+3 -1
View File
@@ -13,6 +13,7 @@ from spotipy import (
SpotifyClientCredentials
)
class TestSpotipy(unittest.TestCase):
"""
@@ -51,7 +52,8 @@ class TestSpotipy(unittest.TestCase):
self.username = os.getenv(CCEV['client_username'])
self.scope = 'user-library-read'
self.token = prompt_for_user_token(self.username, scope=self.scope)
self.spotify = Spotify(client_credentials_manager=SpotifyClientCredentials())
self.spotify = Spotify(
client_credentials_manager=SpotifyClientCredentials())
def test_artist_urn(self):
artist = self.spotify.artist(self.radiohead_urn)