fix some more tests
This commit is contained in:
parent
c97a13e3bd
commit
05cb3caf4a
4 changed files with 3 additions and 50 deletions
|
|
@ -77,7 +77,7 @@ class TestSearch:
|
|||
assert len(results) > 10
|
||||
assert all(item["resultType"] == "podcast" for item in results)
|
||||
results = yt_auth.search(query, filter="episodes")
|
||||
assert len(results) > 10
|
||||
assert len(results) > 5
|
||||
assert all(item["resultType"] == "episode" for item in results)
|
||||
|
||||
def test_search_top_result(self, yt):
|
||||
|
|
|
|||
Loading…
Reference in a new issue