Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places * Fix broken patch in pilight
This commit is contained in:
parent
e7fc886992
commit
2af984917e
319 changed files with 456 additions and 522 deletions
|
@ -1,12 +1,12 @@
|
|||
"""Vera tests."""
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
import pyvera as pv
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .common import ComponentFactory, new_simple_controller_config
|
||||
|
||||
from tests.async_mock import MagicMock
|
||||
|
||||
|
||||
async def test_cover(
|
||||
hass: HomeAssistant, vera_component_factory: ComponentFactory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue