From a702043d378aeb8ebd75b3c4eb8af8973acc7ef2 Mon Sep 17 00:00:00 2001 From: oskvr37 Date: Mon, 27 Jan 2025 18:01:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20add=20getArtist=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_api.py b/tests/test_api.py index 0923f23..27dfdb0 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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)