Fix flapping device_tracker test_bad_platform test (#114102)

https://github.com/home-assistant/core/actions/runs/8408079861/job/23023835074
pull/114084/head^2
J. Nick Koston 2024-03-24 02:23:12 -10:00 committed by GitHub
parent 2e2b40f77e
commit d4b180cf75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -628,6 +628,7 @@ async def test_bad_platform(hass: HomeAssistant) -> None:
config = {"device_tracker": [{"platform": "bad_platform"}]}
with assert_setup_component(0, device_tracker.DOMAIN):
assert await async_setup_component(hass, device_tracker.DOMAIN, config)
await hass.async_block_till_done()
assert f"bad_platform.{device_tracker.DOMAIN}" not in hass.config.components