mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 17:10:45 +00:00
Support for client credentials flow
This commit is contained in:
1 parent
a78421a6e8
commit
1b75562ce4
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -118,7 +118,7 @@ class TestSpotipy(unittest.TestCase):
|
||||
def test_unauthenticated_post_fails(self):
|
||||
with self.assertRaises(SpotifyException) as cm:
|
||||
self.spotify.user_playlist_create("spotify", "Best hits of the 90s")
|
||||
self.assertEqual(cm.exception.http_status, 403)
|
||||
self.assertEqual(cm.exception.http_status, 401)
|
||||
|
||||
def test_custom_requests_session(self):
|
||||
from requests import Session
|
||||
|
||||
Reference in new issue
Block a user