Add type hints to tests (#89497)
This commit is contained in:
parent
b8bda93d87
commit
a0f725dfcb
23 changed files with 109 additions and 66 deletions
|
@ -3,8 +3,12 @@ from homeassistant.components.weather.const import DOMAIN
|
|||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.typing import WebSocketGenerator
|
||||
|
||||
async def test_device_class_units(hass: HomeAssistant, hass_ws_client) -> None:
|
||||
|
||||
async def test_device_class_units(
|
||||
hass: HomeAssistant, hass_ws_client: WebSocketGenerator
|
||||
) -> None:
|
||||
"""Test we can get supported units."""
|
||||
assert await async_setup_component(hass, DOMAIN, {})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue