From 2fea3a1b46215012af9682a355246c70fee8749f Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 11 Sep 2014 15:17:47 +0300 Subject: [PATCH] Last.fm returns no results for artist.getsimilar with limit=1, but limit=2 returns 2 --- test_pylast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_pylast.py b/test_pylast.py index fd4b807..0a1b8d9 100755 --- a/test_pylast.py +++ b/test_pylast.py @@ -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