mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +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":
|
||||
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…
x
Reference in New Issue
Block a user