Fix async_prepare_setup_platform test (#112143)

This commit is contained in:
J. Nick Koston 2024-03-03 14:16:44 -10:00 committed by GitHub
parent 68f17b5eab
commit 60f81c8340
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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