Add shuffleId, radioId to artist results [search, get_artist, get_library_artists, get_library_subscriptions, get_library_upload_artists] (closes #153)

This commit is contained in:
sigma67 2021-01-28 16:41:59 +01:00
commit 1c664b6799
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
6 changed files with 28 additions and 25 deletions

View file

@ -50,12 +50,12 @@ class TestYTMusic(unittest.TestCase):
def test_get_artist(self):
results = youtube.get_artist("MPLAUCmMUZbaYdNH0bEd1PAlAqsA")
self.assertEqual(len(results), 11)
self.assertEqual(len(results), 13)
results = youtube.get_artist("UCLZ7tlKC06ResyDmEStSrOw") # no album year
self.assertGreaterEqual(len(results), 9)
self.assertGreaterEqual(len(results), 11)
results = youtube.get_artist(
"UCDAPd3S5CBIEKXn-tvy57Lg") # no thumbnail, albums, subscribe count
self.assertGreaterEqual(len(results), 9)
self.assertGreaterEqual(len(results), 11)
def test_get_artist_albums(self):
artist = youtube.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg")