Deprecate is_streamable and is_fulltrack_available

This commit is contained in:
Hugo van Kemenade 2022-01-24 19:04:38 +02:00
parent e14f51a32a
commit 3b7cb9c8c7
3 changed files with 41 additions and 18 deletions

View file

@ -229,7 +229,8 @@ class TestPyLastArtist(TestPyLastWithLastFm):
mbid = artist1.get_mbid()
playcount = artist1.get_playcount()
streamable = artist1.is_streamable()
with pytest.warns(DeprecationWarning):
streamable = artist1.is_streamable()
name = artist1.get_name(properly_capitalized=False)
name_cap = artist1.get_name(properly_capitalized=True)