From c97a13e3bd73b008409d96139acc9daeaa1240e9 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Wed, 3 Jul 2024 21:50:32 +0200 Subject: [PATCH] fix search test --- tests/mixins/test_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mixins/test_search.py b/tests/mixins/test_search.py index bfc2978..45c2b50 100644 --- a/tests/mixins/test_search.py +++ b/tests/mixins/test_search.py @@ -16,7 +16,7 @@ class TestSearch: def test_search_queries(self, yt, yt_brand, query: str) -> None: results = yt_brand.search(query) assert ["resultType" in r for r in results] == [True] * len(results) - assert len(results) >= 10 + assert len(results) >= 8 assert not any( artist["name"].lower() in ALL_RESULT_TYPES for result in results @@ -24,7 +24,7 @@ class TestSearch: for artist in result["artists"] ) results = yt.search(query) - assert len(results) >= 10 + assert len(results) >= 8 assert not any( artist["name"].lower() in ALL_RESULT_TYPES for result in results