add getArtist test

This commit is contained in:
oskvr37
2025-01-27 18:01:08 +01:00
parent bf2bc78f3d
commit a702043d37
+4
View File
@@ -33,6 +33,10 @@ class TestApi(unittest.TestCase):
track = self.api.getTrack(103805726)
self.assertEqual(track.title, "Stronger")
def test_artist(self):
artist = self.api.getArtist(25022)
self.assertEqual(artist.name, "Kanye West")
def test_artist_albums(self):
self.api.getArtistAlbums(25022)