Fixed lint issues

This commit is contained in:
Peter-Schorn authored and dieser-niko committed 2024-10-13 21:48:11 +02:00
1 parent c8e045891b
commit 701dc383ea
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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,