mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Update f-g* tests to use entity & device registry fixtures (#103841)
This commit is contained in:
committed by
GitHub
parent
b9bc6ca070
commit
04a497343d
@@ -66,11 +66,12 @@ async def test_update_failed(
|
||||
|
||||
|
||||
async def test_device_info(
|
||||
hass: HomeAssistant, aioclient_mock: AiohttpClientMocker
|
||||
hass: HomeAssistant,
|
||||
device_registry: dr.DeviceRegistry,
|
||||
aioclient_mock: AiohttpClientMocker,
|
||||
) -> None:
|
||||
"""Test device info."""
|
||||
entry = await async_init_integration(hass, aioclient_mock)
|
||||
device_registry = dr.async_get(hass)
|
||||
|
||||
device = device_registry.async_get_device(identifiers={(DOMAIN, entry.entry_id)})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user