Add type hints to integration tests (part 18) (#88174)

This commit is contained in:
epenet 2023-02-17 18:45:48 +01:00 committed by GitHub
parent f465561536
commit 0a80ac19bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 494 additions and 272 deletions

View file

@ -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