feat(schedule): update view

This commit is contained in:
2026-04-16 23:05:41 +03:00
parent 29fa6435ce
commit a0e6f30e3b
11 changed files with 84 additions and 39 deletions

View File

@@ -2,7 +2,7 @@ import datetime
import pytest
from gallery.painting.yandextv.api import YandexTvApi
from gallery.painting.yandextv.api import CHANNELS_MAP, YandexTvApi
from gallery.painting.yandextv.mock import YANDEXTV_MOCK_DATA
from gallery.sketch.schedule.model import ChannelId
@@ -15,6 +15,8 @@ def yandextv_api_fixture() -> YandexTvApi:
api = YandexTvApi()
api.SOURCE = MockSource()
CHANNELS_MAP[ChannelId("test")] = "test"
return api