Use built-in test helpers on 3.8 (#34901)
This commit is contained in:
1 parent
6b16c34fd0
commit
ec47216388
303 files changed
+1163
-1320
No files matched your search
@@ -4,7 +4,6 @@ import json
|
||||
import logging
|
||||
import os
|
||||
|
||||
from asynctest import Mock, call, patch
|
||||
import pytest
|
||||
|
||||
from homeassistant.components import zone
|
||||
@@ -28,6 +27,7 @@ from homeassistant.helpers.json import JSONEncoder
|
||||
from homeassistant.setup import async_setup_component
|
||||
import homeassistant.util.dt as dt_util
|
||||
|
||||
from tests.async_mock import Mock, call, patch
|
||||
from tests.common import (
|
||||
assert_setup_component,
|
||||
async_fire_time_changed,
|
||||
|
||||
Reference in new issue
Block a user