Documentation and tests update
Reflect splitting of `get_streaming_data()` off of `get_song()` in the documentation and tests.
This commit is contained in:
parent
4359de0b9f
commit
e95e2d4ee4
2 changed files with 6 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ Browsing
|
|||
.. automethod:: YTMusic.get_user_playlists
|
||||
.. automethod:: YTMusic.get_album
|
||||
.. automethod:: YTMusic.get_song
|
||||
.. automethod:: YTMusic.get_streaming_data
|
||||
|
||||
Watch
|
||||
--------
|
||||
|
|
|
|||
|
|
@ -81,7 +81,11 @@ class TestYTMusic(unittest.TestCase):
|
|||
|
||||
def test_get_song(self):
|
||||
song = youtube.get_song("ZrOKjDZOtkA")
|
||||
self.assertGreaterEqual(len(song), 17)
|
||||
self.assertGreaterEqual(len(song), 16)
|
||||
|
||||
def test_get_streaming_data(self):
|
||||
song = youtube.get_streaming_data("NRUVdGLf2GI")
|
||||
self.assertEqual(len(song), 3)
|
||||
|
||||
###############
|
||||
# WATCH
|
||||
|
|
|
|||
Loading…
Reference in a new issue