Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests * Adjust hass_client_no_auth * Fix rebase
This commit is contained in:
parent
8bff95014c
commit
a79be493e5
54 changed files with 179 additions and 178 deletions
|
@ -1,6 +1,4 @@
|
|||
"""Test diagnostics."""
|
||||
|
||||
from typing import Any
|
||||
from unittest.mock import ANY
|
||||
|
||||
from homeassistant import core, setup
|
||||
|
@ -10,9 +8,12 @@ from homeassistant.setup import async_setup_component
|
|||
from .test_http import DUMMY_CONFIG
|
||||
|
||||
from tests.components.diagnostics import get_diagnostics_for_config_entry
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
async def test_diagnostics(hass: core.HomeAssistant, hass_client: Any):
|
||||
async def test_diagnostics(
|
||||
hass: core.HomeAssistant, hass_client: ClientSessionGenerator
|
||||
):
|
||||
"""Test diagnostics v1."""
|
||||
|
||||
await setup.async_setup_component(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue