From 88a74273a0d852ae3b7888c2017849305caeef22 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 26 Apr 2015 21:26:21 +0300 Subject: [PATCH] Sometimes Last.fm returns an error for dates[1]: No chart available for this user/date-range combination --- tests/test_pylast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pylast.py b/tests/test_pylast.py index e3581b9..ee14679 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -1236,7 +1236,7 @@ class TestPyLast(unittest.TestCase): self.helper_dates_valid(dates) # Act/Assert - self.helper_get_assert_charts(lastfm_user, dates[1]) + self.helper_get_assert_charts(lastfm_user, dates[0]) def test_track_top_fans(self): # Arrange