mirror of
https://github.com/elisspace/core.git
synced 2026-09-29 13:59:54 +00:00
assign user to websocket connection when using legacy_api_password (#19797)
This commit is contained in:
committed by
Paulus Schoutsen
parent
f17d6c0593
commit
8cf595dd3e
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user