feat(yandexweather): add yandexweather api
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
from pathlib import Path
|
||||
|
||||
from gallery.painting.openweather.openweather import OpenWeather
|
||||
from tests.common.mock import MockSource
|
||||
|
||||
OPENWEATHER_MOCK_SOURCE = MockSource(
|
||||
|
||||
class OpenWeatherMockSource(MockSource, OpenWeather):
|
||||
pass
|
||||
|
||||
|
||||
OPENWEATHER_MOCK_SOURCE = OpenWeatherMockSource(
|
||||
Path(__file__).parent,
|
||||
{
|
||||
"forecast": "forecast.json",
|
||||
|
||||
Reference in New Issue
Block a user