Feature: add get_song (#42)

This commit is contained in:
sigma67 2020-07-14 10:08:00 +02:00
commit d74e532dcd
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
4 changed files with 110 additions and 1 deletions

View file

@ -60,6 +60,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
###############