Fix implicit-return in whirlpool tests (#122775)

pull/122811/head
epenet 2024-07-30 14:57:43 +02:00 committed by GitHub
parent 956cc6a85c
commit 72f9d85bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -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."""

View File

@ -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,