Propagate refresh token error, fixes #259 (#261)

* Propagate refresh token error #259

https://github.com/plamere/spotipy/issues/259

* Lint

* Format

Co-authored-by: Stephane Bruckert <contact@stephanebruckert.com>
This commit is contained in:
Loisaida SamandStephane Bruckert authored and GitHub committed 2020-04-02 20:03:24 +01:00
1 parent 5b5b30dd0f
commit ccfda079c8
6 files changed
+31 -29

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ class SpotipyBrowseApiTests(unittest.TestCase):
cat_id = cat['id']
if cat_id == category:
response = self.spotify.category_playlists(category_id=cat_id)
self.assertGreater(len(response['playlists']["items"]), 0)
self.assertGreater(len(response['playlists']["items"]), 0)
def test_new_releases(self):
response = self.spotify.new_releases()