Rename otbr integration (#86284)

Rename otbr integration
This commit is contained in:
Erik Montnemery 2023-01-20 14:32:41 +01:00 committed by GitHub
parent d94f007dbf
commit ae39b95bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 24 deletions

View file

@ -44,7 +44,7 @@ async def test_user_flow(
},
)
assert result["type"] == FlowResultType.CREATE_ENTRY
assert result["title"] == "Thread"
assert result["title"] == "Open Thread Border Router"
assert result["data"] == expected_data
assert result["options"] == {}
assert len(mock_setup_entry.mock_calls) == 1
@ -52,7 +52,7 @@ async def test_user_flow(
config_entry = hass.config_entries.async_entries(otbr.DOMAIN)[0]
assert config_entry.data == expected_data
assert config_entry.options == {}
assert config_entry.title == "Thread"
assert config_entry.title == "Open Thread Border Router"
assert config_entry.unique_id == otbr.DOMAIN
@ -94,7 +94,7 @@ async def test_hassio_discovery_flow(hass: HomeAssistant) -> None:
}
assert result["type"] == FlowResultType.CREATE_ENTRY
assert result["title"] == "Thread"
assert result["title"] == "Open Thread Border Router"
assert result["data"] == expected_data
assert result["options"] == {}
assert len(mock_setup_entry.mock_calls) == 1
@ -102,7 +102,7 @@ async def test_hassio_discovery_flow(hass: HomeAssistant) -> None:
config_entry = hass.config_entries.async_entries(otbr.DOMAIN)[0]
assert config_entry.data == expected_data
assert config_entry.options == {}
assert config_entry.title == "Thread"
assert config_entry.title == "Open Thread Border Router"
assert config_entry.unique_id == otbr.DOMAIN
@ -116,7 +116,7 @@ async def test_config_flow_single_entry(hass: HomeAssistant, source: str) -> Non
data={},
domain=otbr.DOMAIN,
options={},
title="Thread",
title="Open Thread Border Router",
)
config_entry.add_to_hass(hass)