mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 11:29:46 +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:
@@ -321,7 +321,7 @@ async def test_config(hass):
|
||||
assert "icon" not in no_icon.attributes
|
||||
|
||||
|
||||
def test_validator():
|
||||
def test_validator() -> None:
|
||||
"""Test validators."""
|
||||
parsed = ha_scene.STATES_SCHEMA({"light.Test": {"state": "on"}})
|
||||
assert len(parsed) == 1
|
||||
|
||||
Reference in New Issue
Block a user