mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 09:10:45 +00:00
Made cache_path and username optional (#567)
* Made cache_path and username optional * Update readme and example * Lint * Lint * Feedback / add warning
This commit is contained in:
1 parent
d448d33704
commit
d0ca977647
9 files changed
+126
-137
No files matched your search
@@ -436,8 +436,8 @@ class TestSpotifyPKCE(unittest.TestCase):
|
||||
auth.get_pkce_handshake_parameters()
|
||||
self.assertEqual(auth.code_challenge,
|
||||
base64.urlsafe_b64encode(
|
||||
hashlib.sha256(auth.code_verifier.encode('utf-8'))
|
||||
.digest())
|
||||
hashlib.sha256(auth.code_verifier.encode('utf-8'))
|
||||
.digest())
|
||||
.decode('utf-8')
|
||||
.replace('=', ''))
|
||||
|
||||
|
||||
Reference in new issue
Block a user