mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Fix async_prepare_setup_platform test (#112143)
This commit is contained in:
parent
68f17b5eab
commit
60f81c8340
@ -843,7 +843,7 @@ async def test_async_prepare_setup_platform(
|
|||||||
caplog.clear()
|
caplog.clear()
|
||||||
# There is no actual config platform for this integration
|
# There is no actual config platform for this integration
|
||||||
assert await setup.async_prepare_setup_platform(hass, {}, "config", "test") is None
|
assert await setup.async_prepare_setup_platform(hass, {}, "config", "test") is None
|
||||||
assert "No module named 'custom_components.test.config'" in caplog.text
|
assert "test.config not found" in caplog.text
|
||||||
|
|
||||||
button_platform = (
|
button_platform = (
|
||||||
await setup.async_prepare_setup_platform(hass, {}, "button", "test") is None
|
await setup.async_prepare_setup_platform(hass, {}, "button", "test") is None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user