Add tests for global categories, releases, fix bugged tests (#893)

This commit is contained in:
Kevin Sekuj authored and GitHub committed 2022-11-26 09:29:53 +00:00
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