mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
set cache checking to false so that failing test passes (#682)
This commit is contained in:
parent
e4c581bbb6
commit
85746e4e62
@ -245,7 +245,7 @@ class TestSpotifyClientCredentials(unittest.TestCase):
|
||||
def test_spotify_client_credentials_get_access_token(self):
|
||||
oauth = SpotifyClientCredentials(client_id='ID', client_secret='SECRET')
|
||||
with self.assertRaises(SpotifyOauthError) as error:
|
||||
oauth.get_access_token()
|
||||
oauth.get_access_token(check_cache=False)
|
||||
self.assertEqual(error.exception.error, 'invalid_client')
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user