Added option to stream from resources to reduce memory usage
This commit is contained in:
parent
705052ae66
commit
92004058ba
8 changed files with 174 additions and 192 deletions
|
@ -32,7 +32,7 @@ class TestPyLastAlbum(TestPyLastWithLastFm):
|
|||
|
||||
# Act
|
||||
# limit=2 to ignore now-playing:
|
||||
track = lastfm_user.get_recent_tracks(limit=2)[0]
|
||||
track = list(lastfm_user.get_recent_tracks(limit=2))[0]
|
||||
|
||||
# Assert
|
||||
assert hasattr(track, "album")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue