mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Drop usage of asynctests (#42756)
This commit is contained in:
parent
2a3c0f409c
commit
ebe3cbc058
@ -1,5 +1,4 @@
|
||||
"""Tests for 1-Wire integration."""
|
||||
from asynctest.mock import patch
|
||||
|
||||
from homeassistant.components.onewire.const import (
|
||||
CONF_MOUNT_DIR,
|
||||
@ -11,6 +10,7 @@ from homeassistant.components.onewire.const import (
|
||||
from homeassistant.config_entries import CONN_CLASS_LOCAL_POLL
|
||||
from homeassistant.const import CONF_HOST, CONF_PORT, CONF_TYPE
|
||||
|
||||
from tests.async_mock import patch
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
"""Tests for 1-Wire config flow."""
|
||||
from asynctest.mock import patch
|
||||
from pyownet.protocol import ConnError, OwnetError
|
||||
|
||||
from homeassistant.components.onewire.const import CONF_TYPE_OWSERVER, DOMAIN
|
||||
@ -13,6 +12,7 @@ from homeassistant.const import CONF_HOST, CONF_PORT, CONF_TYPE
|
||||
|
||||
from . import setup_onewire_owserver_integration, setup_onewire_sysbus_integration
|
||||
|
||||
from tests.async_mock import patch
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user