test: fix tests

This commit is contained in:
2026-07-01 21:05:49 +03:00
parent 0730b9f567
commit fcb000afb0
10 changed files with 140 additions and 41 deletions

View File

@@ -15,10 +15,10 @@ def yandextv_api_fixture() -> YandexTvApi:
async def test_search(yandextv_api: YandexTvApi):
result = await yandextv_api.find_channels("матч")
assert len(result) == 8
assert len(result) == 4
async def test_channel(yandextv_api: YandexTvApi):
result = await yandextv_api.get_channel_schedule("test", datetime.date.today())
result = await yandextv_api.get_schedule("test", datetime.date.today())
assert result is not None
assert len(result.values) > 0