fix search filters test
This commit is contained in:
parent
0f00260f57
commit
858995e016
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class TestSearch:
|
||||||
assert len(results) > 10
|
assert len(results) > 10
|
||||||
assert all(item["resultType"] == "podcast" for item in results)
|
assert all(item["resultType"] == "podcast" for item in results)
|
||||||
results = yt_auth.search(query, filter="episodes")
|
results = yt_auth.search(query, filter="episodes")
|
||||||
assert len(results) >= 5
|
assert len(results) >= 3
|
||||||
assert all(item["resultType"] == "episode" for item in results)
|
assert all(item["resultType"] == "episode" for item in results)
|
||||||
|
|
||||||
def test_search_top_result(self, yt):
|
def test_search_top_result(self, yt):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue