mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Lint
This commit is contained in:
parent
83a1cb54ef
commit
2ab985a3c8
@ -13,6 +13,7 @@ from spotipy import (
|
|||||||
SpotifyClientCredentials
|
SpotifyClientCredentials
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class TestSpotipy(unittest.TestCase):
|
class TestSpotipy(unittest.TestCase):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -51,7 +52,8 @@ class TestSpotipy(unittest.TestCase):
|
|||||||
self.username = os.getenv(CCEV['client_username'])
|
self.username = os.getenv(CCEV['client_username'])
|
||||||
self.scope = 'user-library-read'
|
self.scope = 'user-library-read'
|
||||||
self.token = prompt_for_user_token(self.username, scope=self.scope)
|
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):
|
def test_artist_urn(self):
|
||||||
artist = self.spotify.artist(self.radiohead_urn)
|
artist = self.spotify.artist(self.radiohead_urn)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user