mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove misleading "for" from custom integration warning message (#45811)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user