From bb7a51e4966f128d09d581b0428110abddfe8ceb Mon Sep 17 00:00:00 2001 From: sigma67 Date: Sun, 21 Jan 2024 18:40:00 +0100 Subject: [PATCH] get_saved_episodes --- tests/mixins/test_library.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/mixins/test_library.py b/tests/mixins/test_library.py index 3e23637..eda645a 100644 --- a/tests/mixins/test_library.py +++ b/tests/mixins/test_library.py @@ -64,6 +64,12 @@ class TestLibrary: songs = yt_empty.get_liked_songs() assert songs["trackCount"] == 0 + def test_get_saved_episodes(self, yt_brand, yt_empty): + episodes = yt_brand.get_saved_episodes(200) + assert len(episodes["tracks"]) > 0 + episodes = yt_empty.get_saved_episodes() + assert episodes["trackCount"] == 0 + def test_get_history(self, yt_oauth): songs = yt_oauth.get_history() assert len(songs) > 0