Revert "get_charts: removed trending category (no longer available on YTM)"

This reverts commit da492e49f6.
This commit is contained in:
sigma67 2024-02-22 14:21:14 +01:00 • committed by sigma67
commit e1bcb88c92
7 changed files with 15 additions and 14 deletions

View file

@ -9,10 +9,9 @@ class TestExplore:
def test_get_charts(self, yt, yt_oauth):
charts = yt_oauth.get_charts()
assert len(charts) == 4
# songs section appears to be removed currently (US)
assert len(charts) >= 3
charts = yt.get_charts(country="US")
assert len(charts) == 4
charts = yt_oauth.get_charts(country="US")
assert len(charts) == 5
charts = yt.get_charts(country="BE")
assert len(charts) == 3
assert len(charts) == 4