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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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(