Fix lingering timer in config entry flow tests (#89853)

This commit is contained in:
epenet 2023-03-19 08:56:24 +01:00 committed by GitHub
parent 36ad2c81f1
commit 0e7bd401f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,6 +355,7 @@ async def test_webhook_config_flow_registers_webhook(
assert result["data"]["webhook_id"] is not None
@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0)
async def test_webhook_create_cloudhook(
hass: HomeAssistant, webhook_flow_conf: None
) -> None:
@ -410,6 +411,7 @@ async def test_webhook_create_cloudhook(
assert result["require_restart"] is False
@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0)
async def test_webhook_create_cloudhook_aborts_not_connected(
hass: HomeAssistant, webhook_flow_conf: None
) -> None: