eat(yandexweather): add yandexweather api

This commit is contained in:
2026-08-24 21:37:55 +03:00
parent a92b63b855
commit 23d38b8d6e
32 changed files with 505 additions and 73 deletions
+2 -3
View File
@@ -3,14 +3,13 @@ import datetime
import pytest
from gallery.painting.matchtv.api import MatchTvApi
from tests.common.mock import create_mock_api
from tests.data.matchtv import MATCHTV_MOCK_SOURCE
@pytest.fixture(name="matchtv_api", scope="module")
def matchtv_api_fixture() -> MatchTvApi:
api = MatchTvApi()
api.SOURCE = MATCHTV_MOCK_SOURCE
return api
return create_mock_api(MatchTvApi, MATCHTV_MOCK_SOURCE)
async def test_search(matchtv_api: MatchTvApi):