Skip to content

Commit

Permalink
Fix flapping device_tracker test_bad_platform test (#114102)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Mar 24, 2024
1 parent 2e2b40f commit d4b180c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/device_tracker/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d4b180c

Please sign in to comment.