Skip to content

Commit 3b94b24

Browse files
authored
Update bootstrap.py for grammar in slow startup error log (home-assistant#157458)
1 parent 8c8708d commit 3b94b24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

homeassistant/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ def _async_watch(self) -> None:
10001000
# We log every LOG_SLOW_STARTUP_INTERVAL until all integrations are done
10011001
# once we take over LOG_SLOW_STARTUP_INTERVAL (60s) to start up
10021002
_LOGGER.warning(
1003-
"Waiting on integrations to complete setup: %s",
1003+
"Waiting for integrations to complete setup: %s",
10041004
self._setup_started,
10051005
)
10061006

tests/test_bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ async def test_setup_hass(
727727
),
728728
)
729729

730-
assert "Waiting on integrations to complete setup" not in caplog.text
730+
assert "Waiting for integrations to complete setup" not in caplog.text
731731

732732
assert "browser" in hass.config.components
733733
assert "recovery_mode" not in hass.config.components
@@ -790,7 +790,7 @@ async def _async_setup_that_blocks_startup(*args, **kwargs):
790790
),
791791
)
792792

793-
assert "Waiting on integrations to complete setup" in caplog.text
793+
assert "Waiting for integrations to complete setup" in caplog.text
794794

795795

796796
async def test_setup_hass_invalid_yaml(

0 commit comments

Comments
 (0)