mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Increase config entries test coverage (#48203)
This commit is contained in:
parent
7a447c4209
commit
8e4c0e3ff7
@ -1394,6 +1394,12 @@ async def test_entry_id_existing_entry(hass, manager):
|
|||||||
unique_id="mock-unique-id",
|
unique_id="mock-unique-id",
|
||||||
).add_to_hass(hass)
|
).add_to_hass(hass)
|
||||||
|
|
||||||
|
mock_integration(
|
||||||
|
hass,
|
||||||
|
MockModule("comp"),
|
||||||
|
)
|
||||||
|
mock_entity_platform(hass, "config_flow.comp", None)
|
||||||
|
|
||||||
class TestFlow(config_entries.ConfigFlow):
|
class TestFlow(config_entries.ConfigFlow):
|
||||||
"""Test flow."""
|
"""Test flow."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user