Drop asynctest (#44746)
This commit is contained in:
parent
2b0556520b
commit
65cf2fcb6f
906 changed files with 1360 additions and 1254 deletions
|
@ -4,6 +4,7 @@ This is not a test module. These test methods are used by the platform test modu
|
|||
"""
|
||||
import asyncio
|
||||
import threading
|
||||
from unittest.mock import patch
|
||||
|
||||
from homeassistant.components.homeassistant import (
|
||||
DOMAIN as HA_DOMAIN,
|
||||
|
@ -13,8 +14,6 @@ from homeassistant.const import ATTR_ENTITY_ID, STATE_OFF, STATE_UNAVAILABLE
|
|||
from homeassistant.core import callback
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.async_mock import patch
|
||||
|
||||
|
||||
def _perform_registry_callback(hass, pywemo_registry, pywemo_device):
|
||||
"""Return a callable method to trigger a state callback from the device."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue