hass-core/tests/components/homekit/common.py

11 lines
320 B
Python
Raw Normal View History

"""Collection of fixtures and functions for the HomeKit tests."""
from tests.async_mock import patch
def patch_debounce():
"""Return patch for debounce method."""
2019-07-31 12:25:30 -07:00
return patch(
"homeassistant.components.homekit.accessories.debounce",
lambda f: lambda *args, **kwargs: f(*args, **kwargs),
)