mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 17:10:45 +00:00
set cache checking to false so that failing test passes (#682)
This commit is contained in:
1 parent
e4c581bbb6
commit
85746e4e62
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user