mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Remove misleading "for" from custom integration warning message (#45811)
This commit is contained in:
parent
03928dbe55
commit
2ffdc4694a
@ -49,7 +49,7 @@ DATA_CUSTOM_COMPONENTS = "custom_components"
|
||||
PACKAGE_CUSTOM_COMPONENTS = "custom_components"
|
||||
PACKAGE_BUILTIN = "homeassistant.components"
|
||||
CUSTOM_WARNING = (
|
||||
"You are using a custom integration for %s which has not "
|
||||
"You are using a custom integration %s which has not "
|
||||
"been tested by Home Assistant. This component might "
|
||||
"cause stability problems, be sure to disable it if you "
|
||||
"experience issues with Home Assistant."
|
||||
|
@ -131,10 +131,10 @@ async def test_custom_component_name(hass):
|
||||
async def test_log_warning_custom_component(hass, caplog):
|
||||
"""Test that we log a warning when loading a custom component."""
|
||||
hass.components.test_standalone
|
||||
assert "You are using a custom integration for test_standalone" in caplog.text
|
||||
assert "You are using a custom integration test_standalone" in caplog.text
|
||||
|
||||
await loader.async_get_integration(hass, "test")
|
||||
assert "You are using a custom integration for test " in caplog.text
|
||||
assert "You are using a custom integration test " in caplog.text
|
||||
|
||||
|
||||
async def test_get_integration(hass):
|
||||
|
Loading…
x
Reference in New Issue
Block a user