Fixed lint issues

This commit is contained in:
Peter-Schorn committed 2021-04-14 12:43:42 -05:00
1 parent bd80181816
commit 8973fc2e15
5 files changed
+5 -8

No files matched your search

+2 -2
View File
@@ -6,10 +6,9 @@ import unittest
import six.moves.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
try:
import unittest.mock as mock
@@ -233,6 +232,7 @@ class TestSpotifyClientCredentials(unittest.TestCase):
oauth.get_access_token()
self.assertEqual(error.exception.error, 'invalid_client')
class SpotifyPKCECacheTest(unittest.TestCase):
@patch.multiple(SpotifyPKCE,