Move london_air fixture to integration test (#112991)

* Move london_air fixture to integration test

* Fix
This commit is contained in:
Joost Lekkerkerker 2024-03-11 04:27:20 +01:00 committed by GitHub
parent 812bd4af65
commit d528378f5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -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()