user.getArtistTracks has been removed from Last.fm
This commit is contained in:
parent
44d0c2c966
commit
c7b927d94c
|
@ -182,20 +182,6 @@ class TestPyLastUser(TestPyLastWithLastFm):
|
||||||
# Assert
|
# Assert
|
||||||
self.assertEqual(lastfm_user, loaded_user)
|
self.assertEqual(lastfm_user, loaded_user)
|
||||||
|
|
||||||
def test_cacheable_user_artist_tracks(self):
|
|
||||||
# Arrange
|
|
||||||
lastfm_user = self.network.get_authenticated_user()
|
|
||||||
|
|
||||||
# Act
|
|
||||||
with warnings.catch_warnings():
|
|
||||||
warnings.filterwarnings("ignore", category=DeprecationWarning)
|
|
||||||
result1 = lastfm_user.get_artist_tracks("Test Artist", cacheable=False)
|
|
||||||
result2 = lastfm_user.get_artist_tracks("Test Artist", cacheable=True)
|
|
||||||
result3 = lastfm_user.get_artist_tracks("Test Artist")
|
|
||||||
|
|
||||||
# Assert
|
|
||||||
self.helper_validate_results(result1, result2, result3)
|
|
||||||
|
|
||||||
def test_cacheable_user(self):
|
def test_cacheable_user(self):
|
||||||
# Arrange
|
# Arrange
|
||||||
lastfm_user = self.network.get_authenticated_user()
|
lastfm_user = self.network.get_authenticated_user()
|
||||||
|
|
Loading…
Reference in a new issue