Add type hints to integration tests (m-p) (#87705)

This commit is contained in:
epenet 2023-02-08 16:48:54 +01:00 committed by GitHub
parent 6551eb168d
commit 3abf7ea18a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 637 additions and 438 deletions

View file

@ -1,9 +1,10 @@
"""The tests for notify_events."""
from homeassistant.components.notify_events.const import DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
async def test_setup(hass):
async def test_setup(hass: HomeAssistant) -> None:
"""Test setup of the integration."""
config = {"notify_events": {"token": "ABC"}}
assert await async_setup_component(hass, DOMAIN, config)