Revert "get_charts: removed trending category (no longer available on YTM)"
This reverts commit da492e49f6.
This commit is contained in:
parent
86b9e05c90
commit
e1bcb88c92
7 changed files with 15 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue