Fix implicit-return in whirlpool tests (#122775)
parent
956cc6a85c
commit
72f9d85bbe
|
@ -145,6 +145,8 @@ def side_effect_function(*args, **kwargs):
|
|||
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
||||
return "3"
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get_sensor_mock(said):
|
||||
"""Get a mock of a sensor."""
|
||||
|
|
|
@ -42,6 +42,8 @@ def side_effect_function_open_door(*args, **kwargs):
|
|||
if args[0] == "WashCavity_OpStatusBulkDispense1Level":
|
||||
return "3"
|
||||
|
||||
return None
|
||||
|
||||
|
||||
async def test_dryer_sensor_values(
|
||||
hass: HomeAssistant,
|
||||
|
|
Loading…
Reference in New Issue