Use built-in test helpers on 3.8 (#34901)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-30 13:29:50 -07:00
1 parent 6b16c34fd0
commit ec47216388
303 files changed
+1163 -1320

No files matched your search

@@ -2,7 +2,6 @@
# pylint: disable=protected-access
from datetime import datetime
from asynctest import patch
import pytest
from homeassistant.components import (
@@ -23,6 +22,7 @@ from homeassistant.const import (
from homeassistant.setup import async_setup_component
from homeassistant.util import dt as dt_util
from tests.async_mock import patch
from tests.common import async_fire_time_changed