mirror of
https://github.com/home-assistant/core.git
synced 2025-11-06 01:19:29 +00:00
Allow custom integrations to support application_credentials platform (#71129)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user