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

+1 -1
View File
@@ -1,7 +1,6 @@
"""Tests for the WLED sensor platform."""
from datetime import datetime
from asynctest import patch
import pytest
from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN
@@ -21,6 +20,7 @@ from homeassistant.const import (
from homeassistant.core import HomeAssistant
from homeassistant.util import dt as dt_util
from tests.async_mock import patch
from tests.components.wled import init_integration
from tests.test_util.aiohttp import AiohttpClientMocker