mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Fix lingering timer in config entry flow tests (#89853)
This commit is contained in:
parent
36ad2c81f1
commit
0e7bd401f2
@ -355,6 +355,7 @@ async def test_webhook_config_flow_registers_webhook(
|
|||||||
assert result["data"]["webhook_id"] is not None
|
assert result["data"]["webhook_id"] is not None
|
||||||
|
|
||||||
|
|
||||||
|
@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0)
|
||||||
async def test_webhook_create_cloudhook(
|
async def test_webhook_create_cloudhook(
|
||||||
hass: HomeAssistant, webhook_flow_conf: None
|
hass: HomeAssistant, webhook_flow_conf: None
|
||||||
) -> None:
|
) -> None:
|
||||||
@ -410,6 +411,7 @@ async def test_webhook_create_cloudhook(
|
|||||||
assert result["require_restart"] is False
|
assert result["require_restart"] is False
|
||||||
|
|
||||||
|
|
||||||
|
@patch("homeassistant.components.cloud.STARTUP_REPAIR_DELAY", 0)
|
||||||
async def test_webhook_create_cloudhook_aborts_not_connected(
|
async def test_webhook_create_cloudhook_aborts_not_connected(
|
||||||
hass: HomeAssistant, webhook_flow_conf: None
|
hass: HomeAssistant, webhook_flow_conf: None
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user