get_home: small fixes to runs parsing (#251)

This commit is contained in:
sigma67 2022-02-27 13:11:16 +01:00
commit 64a1f1de47
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
3 changed files with 13 additions and 8 deletions

View file

@ -36,6 +36,8 @@ class TestYTMusic(unittest.TestCase):
###############
def test_get_home(self):
result = self.yt.get_home(limit=6)
self.assertGreaterEqual(len(result), 6)
result = self.yt_auth.get_home(limit=15)
self.assertGreaterEqual(len(result), 15)