Add type hints to integration tests (part 18) (#88174)
This commit is contained in:
parent
f465561536
commit
0a80ac19bc
47 changed files with 494 additions and 272 deletions
|
@ -3,9 +3,10 @@ from homeassistant.components.rflink.utils import (
|
|||
brightness_to_rflink,
|
||||
rflink_to_brightness,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
|
||||
async def test_utils(hass, monkeypatch):
|
||||
async def test_utils(hass: HomeAssistant, monkeypatch) -> None:
|
||||
"""Test all utils methods."""
|
||||
# test brightness_to_rflink
|
||||
assert brightness_to_rflink(0) == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue