get_watch_playlist: fixed an issue when longBylineText is missing

This commit is contained in:
sigma67 2024-02-04 15:59:10 +01:00 • committed by sigma67
commit cc26a63264
3 changed files with 16 additions and 9 deletions

View file

@ -5,8 +5,8 @@ import pytest
class TestBrowsing:
def test_get_home(self, yt, yt_auth):
result = yt.get_home(limit=6)
assert len(result) >= 6
result = yt.get_home()
assert len(result) == 2
result = yt_auth.get_home(limit=15)
assert len(result) >= 15