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
2 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ async def test_valid_state(
|
|||
) -> None:
|
||||
"""Test for operational london_air sensor with proper attributes."""
|
||||
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)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Reference in a new issue