mirror of
https://github.com/home-assistant/core.git
synced 2025-05-11 17:39:17 +00:00
11 lines
317 B
Python
11 lines
317 B
Python
"""Collection of fixtures and functions for the HomeKit tests."""
|
|
from unittest.mock import patch
|
|
|
|
|
|
def patch_debounce():
|
|
"""Return patch for debounce method."""
|
|
return patch(
|
|
"homeassistant.components.homekit.accessories.debounce",
|
|
lambda f: lambda *args, **kwargs: f(*args, **kwargs),
|
|
)
|