From a174c14f89f96b9397e4be579065d868b13413c9 Mon Sep 17 00:00:00 2001 From: tehkillerbee Date: Wed, 27 Nov 2024 20:55:58 +0100 Subject: [PATCH] Fix failing tests. --- tests/test_page.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_page.py b/tests/test_page.py index e9f6ea1..770b9a6 100644 --- a/tests/test_page.py +++ b/tests/test_page.py @@ -108,7 +108,9 @@ def test_page_iterator(session): elif isinstance(item, tidalapi.Video): videos += 1 - assert playlists == 19 + # Number of playlists tend to change, resulting in failing tests. + # So we will make sure at least 10 playlists are returned. + assert playlists >= 10 assert videos == 30