mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments * Black * Cancel fixture amends
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user