Return thumbnails with songs, albums and artists (closes #27)

This commit is contained in:
sigma67 2020-05-31 22:11:21 +02:00
commit 1862c84c39
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
3 changed files with 54 additions and 14 deletions

View file

@ -41,7 +41,7 @@ class TestYTMusic(unittest.TestCase):
def test_get_artist(self):
results = youtube.get_artist("UCmMUZbaYdNH0bEd1PAlAqsA")
self.assertEqual(len(results), 7)
self.assertEqual(len(results), 8)
def test_get_artist_albums(self):
artist = youtube.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg")
@ -57,7 +57,7 @@ class TestYTMusic(unittest.TestCase):
def test_get_album(self):
results = youtube_auth.get_album("MPREb_BQZvl3BFGay")
self.assertEqual(len(results), 8)
self.assertEqual(len(results), 9)
self.assertEqual(len(results['tracks']), 7)
###############