assign user to websocket connection when using legacy_api_password (#19797)
This commit is contained in:
parent
6d9fda04ac
commit
23382ab199
2 changed files with 5 additions and 2 deletions
|
@ -132,7 +132,8 @@ async def test_auth_active_with_password_not_allow(hass, aiohttp_client):
|
|||
assert auth_msg['type'] == TYPE_AUTH_INVALID
|
||||
|
||||
|
||||
async def test_auth_legacy_support_with_password(hass, aiohttp_client):
|
||||
async def test_auth_legacy_support_with_password(hass, aiohttp_client,
|
||||
legacy_auth):
|
||||
"""Test authenticating with a token."""
|
||||
assert await async_setup_component(hass, 'websocket_api', {
|
||||
'http': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue