Add type hints to integration tests (m-p) (#87705)
This commit is contained in:
parent
6551eb168d
commit
3abf7ea18a
99 changed files with 637 additions and 438 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue