Skip to content

Commit

Permalink
Add playlistId key presence unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
zarkdav committed Oct 4, 2022
1 parent 4815fc5 commit c37a2ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ def test_get_library_songs(self):
def test_get_library_albums(self):
albums = self.yt_auth.get_library_albums(100)
self.assertGreater(len(albums), 50)
for album in albums:
self.assertIn('playlistId',album)
albums = self.yt_brand.get_library_albums(100, order='a_to_z')
self.assertGreater(len(albums), 50)
albums = self.yt_brand.get_library_albums(100, order='z_to_a')
Expand Down

0 comments on commit c37a2ec

Please sign in to comment.