mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Migrate homekit_controller tests to use freezegun (#105646)
This commit is contained in:
committed by
GitHub
parent
08ca3678da
commit
d322cb5fdf
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user