mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix unnecessary-lambda warnings in tests (#119563)
This commit is contained in:
parent
4af3879fc2
commit
610f21c4a6
@ -98,7 +98,7 @@ def mock_bypass_throttle():
|
||||
"""Fixture to bypass the throttle decorator in __init__."""
|
||||
with patch(
|
||||
"homeassistant.components.home_connect.update_all_devices",
|
||||
side_effect=lambda x, y: bypass_throttle(x, y),
|
||||
side_effect=bypass_throttle,
|
||||
):
|
||||
yield
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user