mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Move london_air fixture to integration test (#112991)
* Move london_air fixture to integration test * Fix
This commit is contained in:
parent
812bd4af65
commit
d528378f5d
@ -18,7 +18,9 @@ async def test_valid_state(
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Test for operational london_air sensor with proper attributes."""
|
"""Test for operational london_air sensor with proper attributes."""
|
||||||
requests_mock.get(
|
requests_mock.get(
|
||||||
URL, text=load_fixture("london_air.json"), status_code=HTTPStatus.OK
|
URL,
|
||||||
|
text=load_fixture("london_air.json", "london_air"),
|
||||||
|
status_code=HTTPStatus.OK,
|
||||||
)
|
)
|
||||||
assert await async_setup_component(hass, "sensor", VALID_CONFIG)
|
assert await async_setup_component(hass, "sensor", VALID_CONFIG)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user