Migrate homekit_controller tests to use freezegun (#105646)
This commit is contained in:
parent
08ca3678da
commit
d322cb5fdf
22 changed files with 152 additions and 197 deletions
|
@ -46,7 +46,7 @@ def create_motion_sensor_service(accessory):
|
|||
cur_state.value = 0
|
||||
|
||||
|
||||
async def test_unload_on_stop(hass: HomeAssistant, utcnow) -> None:
|
||||
async def test_unload_on_stop(hass: HomeAssistant) -> None:
|
||||
"""Test async_unload is called on stop."""
|
||||
await setup_test_component(hass, create_motion_sensor_service)
|
||||
with patch(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue