1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

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
17 changed files with 22 additions and 25 deletions

View File

@@ -1,6 +1,5 @@
"""Define tests for the Acmeda config flow."""
import aiopulse
from asynctest.mock import patch
import pytest
from homeassistant import data_entry_flow
@@ -8,6 +7,7 @@ from homeassistant.components.acmeda.const import DOMAIN
from homeassistant.config_entries import SOURCE_USER
from homeassistant.const import CONF_HOST
from tests.async_mock import patch
from tests.common import MockConfigEntry
DUMMY_HOST1 = "127.0.0.1"