Drop asynctest (#44746)

This commit is contained in:
Franck Nijhof
2021-01-01 22:31:56 +01:00
committed by GitHub
parent 2b0556520b
commit 65cf2fcb6f
906 changed files with 1360 additions and 1254 deletions

View File

@@ -1,12 +1,11 @@
"""The tests for the integration sensor platform."""
from datetime import timedelta
from unittest.mock import patch
from homeassistant.const import ENERGY_KILO_WATT_HOUR, POWER_WATT, TIME_SECONDS
from homeassistant.setup import async_setup_component
import homeassistant.util.dt as dt_util
from tests.async_mock import patch
async def test_state(hass):
"""Test integration sensor state."""