mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Fix otbr test (#96788)
This commit is contained in:
parent
863b36c0c3
commit
49a27bb9a7
@ -380,7 +380,9 @@ async def test_hassio_discovery_flow_2x_addons(
|
|||||||
}
|
}
|
||||||
|
|
||||||
assert results[0]["type"] == FlowResultType.CREATE_ENTRY
|
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]["data"] == expected_data
|
||||||
assert results[0]["options"] == {}
|
assert results[0]["options"] == {}
|
||||||
assert results[1]["type"] == FlowResultType.ABORT
|
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]
|
config_entry = hass.config_entries.async_entries(otbr.DOMAIN)[0]
|
||||||
assert config_entry.data == expected_data
|
assert config_entry.data == expected_data
|
||||||
assert config_entry.options == {}
|
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
|
assert config_entry.unique_id == HASSIO_DATA.uuid
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user