This commit is contained in:
sigma67 2023-06-15 20:15:35 +02:00
commit 6b75939799
No known key found for this signature in database
GPG key ID: 1C314227DF0103D0

View file

@ -162,8 +162,8 @@ class TestYTMusic(unittest.TestCase):
self.assertGreater(len(results), 0)
def test_get_artist_singles(self):
artist = self.yt_auth.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg")
results = self.yt_auth.get_artist_albums(artist["singles"]["browseId"],
artist = self.yt.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg")
results = self.yt.get_artist_albums(artist["singles"]["browseId"],
artist["singles"]["params"])
self.assertGreater(len(results), 0)