From 6b759397992a8e4e77dd99cbf527e9a29c0e8e19 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Thu, 15 Jun 2023 20:15:35 +0200 Subject: [PATCH] fix test --- tests/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.py b/tests/test.py index 35b16eea..8525de1a 100644 --- a/tests/test.py +++ b/tests/test.py @@ -162,8 +162,8 @@ def test_get_artist_albums(self): self.assertGreater(len(results), 0) def test_get_artist_singles(self): - artist = self.yt_auth.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg") - results = self.yt_auth.get_artist_albums(artist["singles"]["browseId"], + artist = self.yt.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg") + results = self.yt.get_artist_albums(artist["singles"]["browseId"], artist["singles"]["params"]) self.assertGreater(len(results), 0)