Improve UniFi config flow tests and add options flow test (#27340)

This commit is contained in:
Robert Svensson 2019-10-08 23:44:33 +02:00 committed by Paulus Schoutsen
parent 7f20210e93
commit d345b58ce6
4 changed files with 268 additions and 177 deletions

View file

@ -387,7 +387,7 @@ async def test_hassio_confirm(hass):
async def test_option_flow(hass):
"""Test config flow selection of one of two bridges."""
"""Test config flow options."""
entry = MockConfigEntry(domain=config_flow.DOMAIN, data={}, options=None)
hass.config_entries._entries.append(entry)