mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-11 17:10:45 +00:00
Add tests for global categories, releases, fix bugged tests (#893)
This commit is contained in:
1 parent
edcd322845
commit
5201f58247
3 files changed
+19
-1
No files matched your search
@@ -158,6 +158,8 @@ class AuthTestSpotipy(unittest.TestCase):
|
||||
results = self.spotify.artist_related_artists(self.weezer_urn)
|
||||
self.assertTrue('artists' in results)
|
||||
self.assertTrue(len(results['artists']) == 20)
|
||||
|
||||
found = False
|
||||
for artist in results['artists']:
|
||||
if artist['name'] == 'Jimmy Eat World':
|
||||
found = True
|
||||
|
||||
Reference in new issue
Block a user