Use common strings for somfy config flow (#40594)

This commit is contained in:
Rob Bierbooms 2020-09-26 13:30:49 +02:00 committed by GitHub
parent c011f3fa95
commit f6435affe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -49,7 +49,7 @@ async def test_abort_if_existing_entry(hass):
result = await flow.async_step_user()
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "already_setup"
assert result["reason"] == "single_instance_allowed"
async def test_full_flow(hass, aiohttp_client, aioclient_mock, current_request):