Add type hints to integration tests (part 9) (#87983)

This commit is contained in:
epenet 2023-02-13 12:06:51 +01:00 committed by GitHub
parent 6359775cfc
commit 03710e58b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 1526 additions and 781 deletions

View file

@ -16,7 +16,7 @@ from tests.typing import ClientSessionGenerator
async def test_config_entry(
hass: HomeAssistant, hass_client: ClientSessionGenerator, utcnow
):
) -> None:
"""Test generating diagnostics for a config entry."""
accessories = await setup_accessories_from_file(hass, "koogeek_ls1.json")
config_entry, _ = await setup_test_accessories(hass, accessories)
@ -284,7 +284,9 @@ async def test_config_entry(
}
async def test_device(hass: HomeAssistant, hass_client: ClientSessionGenerator, utcnow):
async def test_device(
hass: HomeAssistant, hass_client: ClientSessionGenerator, utcnow
) -> None:
"""Test generating diagnostics for a device entry."""
accessories = await setup_accessories_from_file(hass, "koogeek_ls1.json")
config_entry, _ = await setup_test_accessories(hass, accessories)