Add return type to tests without arguments (#87613)
* Add return type to tests without arguments * Black * Cancel fixture amends
This commit is contained in:
parent
fb4c0b4b7a
commit
4142f0d15d
99 changed files with 473 additions and 459 deletions
|
@ -650,7 +650,7 @@ async def test_light_turn_off_service(hass, mock_bridge_v1):
|
|||
assert light.state == "off"
|
||||
|
||||
|
||||
def test_available():
|
||||
def test_available() -> None:
|
||||
"""Test available property."""
|
||||
light = hue_light.HueLight(
|
||||
light=Mock(
|
||||
|
@ -704,7 +704,7 @@ def test_available():
|
|||
assert light.available is True
|
||||
|
||||
|
||||
def test_hs_color():
|
||||
def test_hs_color() -> None:
|
||||
"""Test hs_color property."""
|
||||
light = hue_light.HueLight(
|
||||
light=Mock(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue