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
@@ -3,7 +3,6 @@
|
||||
from io import StringIO
|
||||
import os
|
||||
import unittest
|
||||
import unittest.mock as mock
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -21,6 +20,7 @@ from homeassistant.const import (
|
||||
from homeassistant.exceptions import Unauthorized
|
||||
from homeassistant.setup import async_setup_component, setup_component
|
||||
|
||||
import tests.async_mock as mock
|
||||
from tests.common import get_test_home_assistant, mock_service, mock_storage
|
||||
from tests.components.light import common
|
||||
|
||||
|
||||
Reference in new issue
Block a user