Skip to content

Commit

Permalink
Fix async_prepare_setup_platform test (home-assistant#112143)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Mar 4, 2024
1 parent 68f17b5 commit 60f81c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60f81c8

Please sign in to comment.