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

This commit is contained in:
sigma67 2024-02-04 16:29:27 +01:00 • committed by sigma67
commit da492e49f6
7 changed files with 14 additions and 15 deletions

View file

@ -9,9 +9,10 @@ class TestExplore:
def test_get_charts(self, yt, yt_oauth):
charts = yt_oauth.get_charts()
# songs section appears to be removed currently (US)
assert len(charts) >= 3
assert len(charts) == 4
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) == 4
assert len(charts) == 3