Add type hints to integration tests (part 23) (#88235)
This commit is contained in:
parent
aa50096a31
commit
9a5f88f55f
49 changed files with 651 additions and 408 deletions
|
@ -1,5 +1,4 @@
|
|||
"""Test UniFi Protect diagnostics."""
|
||||
|
||||
from pyunifiprotect.data import NVR, Light
|
||||
|
||||
from homeassistant.components.unifiprotect.const import CONF_ALLOW_EA
|
||||
|
@ -8,11 +7,15 @@ from homeassistant.core import HomeAssistant
|
|||
from .utils import MockUFPFixture, init_entry
|
||||
|
||||
from tests.components.diagnostics import get_diagnostics_for_config_entry
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
async def test_diagnostics(
|
||||
hass: HomeAssistant, ufp: MockUFPFixture, light: Light, hass_client
|
||||
):
|
||||
hass: HomeAssistant,
|
||||
ufp: MockUFPFixture,
|
||||
light: Light,
|
||||
hass_client: ClientSessionGenerator,
|
||||
) -> None:
|
||||
"""Test generating diagnostics for a config entry."""
|
||||
|
||||
await init_entry(hass, ufp, [light])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue