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