Fix otbr test (#96788)
This commit is contained in:
parent
863b36c0c3
commit
49a27bb9a7
1 changed files with 6 additions and 2 deletions
|
@ -380,7 +380,9 @@ async def test_hassio_discovery_flow_2x_addons(
|
|||
}
|
||||
|
||||
assert results[0]["type"] == FlowResultType.CREATE_ENTRY
|
||||
assert results[0]["title"] == "Home Assistant SkyConnect"
|
||||
assert (
|
||||
results[0]["title"] == "Home Assistant SkyConnect (Silicon Labs Multiprotocol)"
|
||||
)
|
||||
assert results[0]["data"] == expected_data
|
||||
assert results[0]["options"] == {}
|
||||
assert results[1]["type"] == FlowResultType.ABORT
|
||||
|
@ -391,7 +393,9 @@ async def test_hassio_discovery_flow_2x_addons(
|
|||
config_entry = hass.config_entries.async_entries(otbr.DOMAIN)[0]
|
||||
assert config_entry.data == expected_data
|
||||
assert config_entry.options == {}
|
||||
assert config_entry.title == "Home Assistant SkyConnect"
|
||||
assert (
|
||||
config_entry.title == "Home Assistant SkyConnect (Silicon Labs Multiprotocol)"
|
||||
)
|
||||
assert config_entry.unique_id == HASSIO_DATA.uuid
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue