fix some more tests
This commit is contained in:
parent
c97a13e3bd
commit
05cb3caf4a
4 changed files with 3 additions and 50 deletions
|
|
@ -84,7 +84,7 @@ class TestBrowsing:
|
|||
album = yt.get_album("MPREabc")
|
||||
assert len(album["tracks"]) == 19
|
||||
assert len(album["artists"]) == 1
|
||||
assert len(album) == 13
|
||||
assert len(album) == 14
|
||||
|
||||
def test_get_album(self, yt, yt_auth, sample_album):
|
||||
album = yt_auth.get_album(sample_album)
|
||||
|
|
|
|||
|
|
@ -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