Fix async_prepare_setup_platform test (#112143)
This commit is contained in:
parent
68f17b5eab
commit
60f81c8340
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ async def test_async_prepare_setup_platform(
|
|||
caplog.clear()
|
||||
# There is no actual config platform for this integration
|
||||
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 = (
|
||||
await setup.async_prepare_setup_platform(hass, {}, "button", "test") is None
|
||||
|
|
Loading…
Add table
Reference in a new issue