Warn when user tries run custom config flow (#24657)
This commit is contained in:
parent
86e50530b0
commit
319ac23736
4 changed files with 38 additions and 1 deletions
|
@ -152,6 +152,16 @@ def test_integration_properties(hass):
|
|||
assert integration.domain == 'hue'
|
||||
assert integration.dependencies == ['test-dep']
|
||||
assert integration.requirements == ['test-req==1.0.0']
|
||||
assert integration.is_built_in is True
|
||||
|
||||
integration = loader.Integration(
|
||||
hass, 'custom_components.hue', None, {
|
||||
'name': 'Philips Hue',
|
||||
'domain': 'hue',
|
||||
'dependencies': ['test-dep'],
|
||||
'requirements': ['test-req==1.0.0'],
|
||||
})
|
||||
assert integration.is_built_in is False
|
||||
|
||||
|
||||
async def test_integrations_only_once(hass):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue