Fix chart tests that failed due to date ranges (take 2)

This commit is contained in:
Hugo 2014-09-11 15:37:17 +03:00
parent 56d1f2791f
commit def9b2414a
2 changed files with 3 additions and 2 deletions

View file

@ -28,3 +28,4 @@ matrix:
allow_failures: allow_failures:
- python: "3.4" - python: "3.4"
- python: "pypy" - python: "pypy"
fast_finish: true

View file

@ -1213,7 +1213,7 @@ class TestPyLast(unittest.TestCase):
self.helper_dates_valid(dates) self.helper_dates_valid(dates)
# Act/Assert # Act/Assert
self.helper_get_assert_charts(tag, dates[-1]) self.helper_get_assert_charts(tag, dates[-2])
def test_user_charts(self): def test_user_charts(self):
# Arrange # Arrange
@ -1222,7 +1222,7 @@ class TestPyLast(unittest.TestCase):
self.helper_dates_valid(dates) self.helper_dates_valid(dates)
# Act/Assert # Act/Assert
self.helper_get_assert_charts(lastfm_user, dates[-1]) self.helper_get_assert_charts(lastfm_user, dates[1])
def test_track_top_fans(self): def test_track_top_fans(self):
# Arrange # Arrange