Use single_instance_allowed for webhook config flows (#40965)

This commit is contained in:
springstan authored and GitHub committed 2020-10-01 20:44:13 +02:00
1 parent 17c6838b7f
commit c7ebfdb403
23 files changed
+27 -25

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ async def test_webhook_single_entry_allowed(hass, webhook_flow_conf):
result = await flow.async_step_user()
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "one_instance_allowed"
assert result["reason"] == "single_instance_allowed"
async def test_webhook_multiple_entries_allowed(hass, webhook_flow_conf):