Use is in ConfigEntryState enum comparison in tests (N-Z) (#114926)
This commit is contained in:
parent
f2c091fe0c
commit
9204ccfa17
107 changed files with 332 additions and 321 deletions
|
@ -452,7 +452,7 @@ async def test_dhcp_ip_update(
|
|||
|
||||
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
assert config_entry.state == ConfigEntryState.LOADED
|
||||
assert config_entry.state is ConfigEntryState.LOADED
|
||||
|
||||
if not last_update_success:
|
||||
# ensure the last_update_succes is False for the device_coordinator.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue