Use is in ConfigEntryState enum comparison in tests (A-M) (#114925)

This commit is contained in:
epenet
2024-04-05 17:16:55 +02:00
committed by GitHub
parent dd8de14cc5
commit 0b01326f9f
99 changed files with 302 additions and 295 deletions

View File

@@ -126,7 +126,7 @@ async def test_bridge_with_triggers(
hass.bus.async_fire(EVENT_HOMEASSISTANT_STARTED)
await hass.async_block_till_done()
assert entry.state == ConfigEntryState.LOADED
assert entry.state is ConfigEntryState.LOADED
await hass.config_entries.async_unload(entry.entry_id)
await hass.async_block_till_done()