mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Add return type to async tests without arguments (#87612)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user