mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +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:
@@ -140,7 +140,7 @@ async def test_match_device_area(hass):
|
||||
) == [state1]
|
||||
|
||||
|
||||
def test_async_validate_slots():
|
||||
def test_async_validate_slots() -> None:
|
||||
"""Test async_validate_slots of IntentHandler."""
|
||||
handler1 = MockIntentHandler({vol.Required("name"): cv.string})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user