Merge pull request #217 from pylast/fix-collect-nodes

Fix: _collect_nodes() break if there are no child nodes
This commit is contained in:
Hugo 2017-09-25 14:54:09 +03:00 committed by GitHub
commit d6281e3829
2 changed files with 4 additions and 2 deletions

View file

@ -911,8 +911,7 @@ class TestPyLast(unittest.TestCase):
lastfm_user = self.network.get_authenticated_user()
# Act/Assert
# Skip the first one because Last.fm API is broken
# self.helper_validate_cacheable(lastfm_user, "get_friends")
self.helper_validate_cacheable(lastfm_user, "get_friends")
self.helper_validate_cacheable(lastfm_user, "get_loved_tracks")
self.helper_validate_cacheable(lastfm_user, "get_neighbours")
self.helper_validate_cacheable(lastfm_user, "get_past_events")