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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user