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,7 +1,6 @@
|
|||
"""Tests for the HomeKit component."""
|
||||
import os
|
||||
from typing import Dict
|
||||
from unittest.mock import ANY, Mock, patch
|
||||
|
||||
import pytest
|
||||
from zeroconf import InterfaceChoice
|
||||
|
@ -55,7 +54,7 @@ from homeassistant.util import json as json_util
|
|||
|
||||
from .util import PATH_HOMEKIT, async_init_entry, async_init_integration
|
||||
|
||||
from tests.async_mock import AsyncMock
|
||||
from tests.async_mock import ANY, AsyncMock, Mock, patch
|
||||
from tests.common import MockConfigEntry, mock_device_registry, mock_registry
|
||||
from tests.components.homekit.common import patch_debounce
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue