Use asynctest-mock in most places (#35109)

* Use asynctest-mock in most places

* Fix broken patch in pilight
This commit is contained in:
Paulus Schoutsen 2020-05-03 11:27:19 -07:00 committed by GitHub
parent e7fc886992
commit 2af984917e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
319 changed files with 456 additions and 522 deletions

View file

@ -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