mirror of
https://github.com/c0de-archive/spotipy.git
synced 2025-01-08 15:42:48 +00:00
Merge pull request #129 from jasonhamilton/master
fixes test for related artists. Fixes issue #128.
This commit is contained in:
commit
e19f77cb50
@ -83,7 +83,7 @@ class TestSpotipy(unittest.TestCase):
|
|||||||
self.assertTrue('artists' in results)
|
self.assertTrue('artists' in results)
|
||||||
self.assertTrue(len(results['artists']) == 20)
|
self.assertTrue(len(results['artists']) == 20)
|
||||||
for artist in results['artists']:
|
for artist in results['artists']:
|
||||||
if artist['name'] == 'Rivers Cuomo':
|
if artist['name'] == 'Jimmy Eat World':
|
||||||
found = True
|
found = True
|
||||||
self.assertTrue(found)
|
self.assertTrue(found)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user