Merge branch 'feature/get_song' (closes #42)

This commit is contained in:
sigma67 2020-07-21 11:22:26 +02:00
commit a57956449d
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
4 changed files with 187 additions and 80 deletions

View file

@ -70,6 +70,10 @@ class TestYTMusic(unittest.TestCase):
self.assertEqual(len(results), 9)
self.assertEqual(len(results['tracks']), 7)
def test_get_song(self):
song = youtube.get_song("ZrOKjDZOtkA")
self.assertGreaterEqual(len(song), 17)
###############
# LIBRARY
###############