mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Use async_load_fixture in weatherflow_cloud (#147816)
This commit is contained in:
parent
b52a248def
commit
53936ab062
@ -26,7 +26,7 @@ from . import setup_integration
|
|||||||
from tests.common import (
|
from tests.common import (
|
||||||
MockConfigEntry,
|
MockConfigEntry,
|
||||||
async_fire_time_changed,
|
async_fire_time_changed,
|
||||||
load_fixture,
|
async_load_fixture,
|
||||||
snapshot_platform,
|
snapshot_platform,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ async def test_all_entities_with_lightning_error(
|
|||||||
"""Test all entities."""
|
"""Test all entities."""
|
||||||
|
|
||||||
get_observation_response_data = ObservationStationREST.from_json(
|
get_observation_response_data = ObservationStationREST.from_json(
|
||||||
load_fixture("station_observation_error.json", DOMAIN)
|
await async_load_fixture(hass, "station_observation_error.json", DOMAIN)
|
||||||
)
|
)
|
||||||
|
|
||||||
with patch(
|
with patch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user