Use asynctest-mock in most places (#35109)
* Use asynctest-mock in most places * Fix broken patch in pilight
This commit is contained in:
1 parent
e7fc886992
commit
2af984917e
319 files changed
+456
-522
No files matched your search
@@ -2,7 +2,6 @@
|
||||
import json
|
||||
import re
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import requests
|
||||
@@ -11,6 +10,7 @@ from homeassistant.components import sensor
|
||||
from homeassistant.components.bom.sensor import BOMCurrentData
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.async_mock import patch
|
||||
from tests.common import assert_setup_component, get_test_home_assistant, load_fixture
|
||||
|
||||
VALID_CONFIG = {
|
||||
|
||||
Reference in new issue
Block a user