Add return type to async tests without arguments (#87612)

This commit is contained in:
epenet
2023-02-07 10:26:56 +01:00
committed by GitHub
parent ea32a2ae63
commit aa00114c2f
51 changed files with 117 additions and 117 deletions

View File

@ -4,7 +4,7 @@ from homeassistant.components.NEW_DOMAIN.significant_change import (
)
async def test_significant_change():
async def test_significant_change() -> None:
"""Detect NEW_NAME significant changes."""
attrs = {}
assert not async_check_significant_change(None, "on", attrs, "on", attrs)