Allow custom integrations to support application_credentials platform (#71129)
This commit is contained in:
parent
d8ee9c1922
commit
ae01ec02e2
6 changed files with 66 additions and 10 deletions
|
@ -615,8 +615,7 @@ async def test_websocket_integration_list(ws_client: ClientFixture):
|
|||
"""Test websocket integration list command."""
|
||||
client = await ws_client()
|
||||
with patch(
|
||||
"homeassistant.components.application_credentials.APPLICATION_CREDENTIALS",
|
||||
["example1", "example2"],
|
||||
"homeassistant.loader.APPLICATION_CREDENTIALS", ["example1", "example2"]
|
||||
):
|
||||
assert await client.cmd_result("config") == {
|
||||
"domains": ["example1", "example2"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue