Deprecate Artist.get_cover_image, they're no longer available from Last.fm

This commit is contained in:
Hugo 2020-06-22 22:20:29 +03:00
parent 108e3dda44
commit 158273e0ae
2 changed files with 13 additions and 1 deletions

View file

@ -250,7 +250,10 @@ class TestPyLastArtist(TestPyLastWithLastFm):
# Act
url = artist1.get_url()
mbid = artist1.get_mbid()
image = artist1.get_cover_image()
with pytest.warns(DeprecationWarning):
image = artist1.get_cover_image()
playcount = artist1.get_playcount()
streamable = artist1.is_streamable()
name = artist1.get_name(properly_capitalized=False)