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
|
@ -13,10 +13,13 @@ from homeassistant.core import HomeAssistant
|
|||
from homeassistant.helpers import area_registry, entity_registry, intent
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import async_mock_service
|
||||
from tests.common import MockUser, async_mock_service
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
async def test_http_handle_intent(hass, hass_client, hass_admin_user):
|
||||
async def test_http_handle_intent(
|
||||
hass: HomeAssistant, hass_client: ClientSessionGenerator, hass_admin_user: MockUser
|
||||
) -> None:
|
||||
"""Test handle intent via HTTP API."""
|
||||
|
||||
class TestIntentHandler(intent.IntentHandler):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue