Add return type to tests without arguments (#87613)

* Add return type to tests without arguments

* Black

* Cancel fixture amends
This commit is contained in:
epenet
2023-02-07 14:20:06 +01:00
committed by GitHub
parent fb4c0b4b7a
commit 4142f0d15d
99 changed files with 473 additions and 459 deletions

View File

@@ -28,7 +28,7 @@ async def test_valid_path_setup(hass):
)
def test_event():
def test_event() -> None:
"""Check that Home Assistant events are fired correctly on watchdog event."""
class MockPatternMatchingEventHandler:
@@ -58,7 +58,7 @@ def test_event():
}
def test_move_event():
def test_move_event() -> None:
"""Check that Home Assistant events are fired correctly on watchdog event."""
class MockPatternMatchingEventHandler: