Use builtin mock (#36473)
This commit is contained in:
1 parent
874c8fea03
commit
4170eb0f83
6 files changed
+13
-13
No files matched your search
@@ -1,5 +1,4 @@
|
||||
"""Vera tests."""
|
||||
from mock import patch
|
||||
from requests.exceptions import RequestException
|
||||
|
||||
from homeassistant import config_entries, data_entry_flow
|
||||
@@ -12,7 +11,7 @@ from homeassistant.data_entry_flow import (
|
||||
RESULT_TYPE_FORM,
|
||||
)
|
||||
|
||||
from tests.async_mock import MagicMock
|
||||
from tests.async_mock import MagicMock, patch
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user