mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 09:10:45 +00:00
Fixed lint issues
This commit is contained in:
1 parent
c8e045891b
commit
701dc383ea
3 files changed
+4
-4
No files matched your search
@@ -6,10 +6,9 @@ import unittest.mock as mock
|
||||
import urllib.parse as urllibparse
|
||||
|
||||
from spotipy import SpotifyOAuth, SpotifyPKCE
|
||||
from spotipy.cache_handler import CacheHandler
|
||||
from spotipy.oauth2 import SpotifyClientCredentials, SpotifyOauthError
|
||||
from spotipy.oauth2 import SpotifyStateError
|
||||
from spotipy import CacheFileHandler
|
||||
from spotipy import MemoryCacheHandler, CacheFileHandler
|
||||
|
||||
patch = mock.patch
|
||||
DEFAULT = mock.DEFAULT
|
||||
@@ -228,6 +227,7 @@ class TestSpotifyClientCredentials(unittest.TestCase):
|
||||
oauth.get_access_token(check_cache=False)
|
||||
self.assertEqual(error.exception.error, 'invalid_client')
|
||||
|
||||
|
||||
class SpotifyPKCECacheTest(unittest.TestCase):
|
||||
|
||||
@patch.multiple(SpotifyPKCE,
|
||||
|
||||
Reference in new issue
Block a user