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

Improve typing in core tests (#119958)

Add missing return values in core tests
This commit is contained in:
epenet
2024-06-19 19:58:07 +02:00
committed by GitHub
parent 8e3b58dc28
commit f0dc39a903
3 changed files with 28 additions and 19 deletions

View File

@@ -1489,7 +1489,7 @@ async def test_setup_does_base_platforms_first(hass: HomeAssistant) -> None:
assert order[3:] == ["root", "first_dep", "second_dep"]
def test_should_rollover_is_always_false():
def test_should_rollover_is_always_false() -> None:
"""Test that shouldRollover always returns False."""
assert (
bootstrap._RotatingFileHandlerWithoutShouldRollOver(