From 60f81c834031fe358015e4b4a27b2dbc201f057d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 3 Mar 2024 14:16:44 -1000 Subject: [PATCH] Fix async_prepare_setup_platform test (#112143) --- tests/test_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_setup.py b/tests/test_setup.py index 29ced934745..1a27ed5584b 100644 --- a/tests/test_setup.py +++ b/tests/test_setup.py @@ -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