Replace asynctest with tests.async_mock (#37428)

This commit is contained in:
Paulus Schoutsen 2020-07-03 11:29:35 -07:00 committed by GitHub
parent eb66da6436
commit 0c771f1c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 22 additions and 25 deletions

View file

@ -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