set cache checking to false so that failing test passes (#682)

This commit is contained in:
Gustavo Krieger authored and GitHub committed 2021-04-25 22:02:07 +01:00
1 parent e4c581bbb6
commit 85746e4e62
1 file changed
+1 -1
+1 -1
View File
@@ -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')