Replace asynctest with tests.async_mock (#37428)
This commit is contained in:
parent
eb66da6436
commit
0c771f1c42
17 changed files with 22 additions and 25 deletions
|
@ -1,6 +1,5 @@
|
|||
"""Define tests for the Elexa Guardian config flow."""
|
||||
from aioguardian.errors import GuardianError
|
||||
from asynctest import patch
|
||||
|
||||
from homeassistant import data_entry_flow
|
||||
from homeassistant.components.guardian import CONF_UID, DOMAIN
|
||||
|
@ -11,6 +10,7 @@ from homeassistant.components.guardian.config_flow import (
|
|||
from homeassistant.config_entries import SOURCE_USER, SOURCE_ZEROCONF
|
||||
from homeassistant.const import CONF_IP_ADDRESS, CONF_PORT
|
||||
|
||||
from tests.async_mock import patch
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue