Add type hints to integration tests (t-z) (#87707)
This commit is contained in:
parent
f75ac17554
commit
278050a73f
110 changed files with 961 additions and 606 deletions
|
@ -2,10 +2,11 @@
|
|||
import pytest
|
||||
|
||||
from homeassistant.components.template import template_entity
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import template
|
||||
|
||||
|
||||
async def test_template_entity_requires_hass_set(hass):
|
||||
async def test_template_entity_requires_hass_set(hass: HomeAssistant) -> None:
|
||||
"""Test template entity requires hass to be set before accepting templates."""
|
||||
entity = template_entity.TemplateEntity(hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue