Add type hints to integration tests (part 12) (#87997)
This commit is contained in:
parent
896dd1a36b
commit
ea29cdfe83
51 changed files with 371 additions and 246 deletions
|
@ -1,10 +1,14 @@
|
|||
"""Test IQVIA diagnostics."""
|
||||
from homeassistant.components.diagnostics import REDACTED
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from tests.components.diagnostics import get_diagnostics_for_config_entry
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
async def test_entry_diagnostics(hass, config_entry, hass_client, setup_iqvia):
|
||||
async def test_entry_diagnostics(
|
||||
hass: HomeAssistant, config_entry, hass_client: ClientSessionGenerator, setup_iqvia
|
||||
) -> None:
|
||||
"""Test config entry diagnostics."""
|
||||
assert await get_diagnostics_for_config_entry(hass, hass_client, config_entry) == {
|
||||
"entry": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue