feat(yandexweather): add yandexweather api
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user