mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Fix implicit-return in whirlpool tests (#122775)
This commit is contained in:
parent
956cc6a85c
commit
72f9d85bbe
@ -145,6 +145,8 @@ def side_effect_function(*args, **kwargs):
|
|||||||
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
||||||
return "3"
|
return "3"
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
def get_sensor_mock(said):
|
def get_sensor_mock(said):
|
||||||
"""Get a mock of a sensor."""
|
"""Get a mock of a sensor."""
|
||||||
|
@ -42,6 +42,8 @@ def side_effect_function_open_door(*args, **kwargs):
|
|||||||
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
||||||
return "3"
|
return "3"
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
async def test_dryer_sensor_values(
|
async def test_dryer_sensor_values(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user