test: fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user