1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

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

@@ -15,7 +15,7 @@ SUPERVISOR_HARD_TIMEOUT = 220
TIMEOUT_SAFETY_MARGIN = 10
async def test_cumulative_shutdown_timeout_less_than_supervisor():
async def test_cumulative_shutdown_timeout_less_than_supervisor() -> None:
"""Verify the cumulative shutdown timeout is at least 10s less than the supervisor."""
assert (
core.STAGE_1_SHUTDOWN_TIMEOUT