Import util.dt
as dt_util
in components/[p-s]*
(#93761)
This commit is contained in:
parent
2e59ae9e90
commit
940942a74a
23 changed files with 111 additions and 109 deletions
|
@ -10,7 +10,7 @@ import pytest
|
|||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import STATE_OFF, STATE_ON
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.util import dt
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
from tests.common import async_fire_time_changed
|
||||
|
||||
|
@ -39,7 +39,7 @@ async def test_select(
|
|||
):
|
||||
async_fire_time_changed(
|
||||
hass,
|
||||
dt.utcnow() + timedelta(minutes=5),
|
||||
dt_util.utcnow() + timedelta(minutes=5),
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue