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

Don't use asynctest directly (#41306)

This commit is contained in:
Paulus Schoutsen
2020-10-06 10:15:50 +02:00
committed by GitHub
parent 949ab621c0
commit e303064f75
7 changed files with 26 additions and 24 deletions

View File

@@ -1,5 +1,4 @@
"""Define tests for the OpenWeatherMap config flow."""
from asynctest import MagicMock, patch
from pyowm.exceptions.api_call_error import APICallError
from pyowm.exceptions.api_response_error import UnauthorizedError
@@ -19,6 +18,7 @@ from homeassistant.const import (
CONF_NAME,
)
from tests.async_mock import MagicMock, patch
from tests.common import MockConfigEntry
CONFIG = {