Last.fm returns no results for artist.getsimilar with limit=1, but limit=2 returns 2
This commit is contained in:
parent
bc7433990b
commit
2fea3a1b46
|
@ -377,7 +377,7 @@ class TestPyLast(unittest.TestCase):
|
|||
def test_artist_is_hashable(self):
|
||||
# Arrange
|
||||
test_artist = self.network.get_artist("Test Artist")
|
||||
artist = test_artist.get_similar(limit=1)[0].item
|
||||
artist = test_artist.get_similar(limit=2)[0].item
|
||||
self.assertIsInstance(artist, pylast.Artist)
|
||||
|
||||
# Act/Assert
|
||||
|
|
Loading…
Reference in a new issue