Remove config entry specifics from FlowManager (#85565)
This commit is contained in:
parent
0f3221eac7
commit
3cd6bd87a7
5 changed files with 119 additions and 85 deletions
|
@ -92,7 +92,9 @@ async def test_discover_config_flow(hass):
|
|||
|
||||
with patch.dict(
|
||||
discovery.CONFIG_ENTRY_HANDLERS, {"mock-service": "mock-component"}
|
||||
), patch("homeassistant.data_entry_flow.FlowManager.async_init") as m_init:
|
||||
), patch(
|
||||
"homeassistant.config_entries.ConfigEntriesFlowManager.async_init"
|
||||
) as m_init:
|
||||
await mock_discovery(hass, discover)
|
||||
|
||||
assert len(m_init.mock_calls) == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue