assign user to websocket connection when using legacy_api_password (#19797)

This commit is contained in:
Florian Ludwig 2019-01-09 05:45:24 +01:00 committed by Paulus Schoutsen
parent 6d9fda04ac
commit 23382ab199
2 changed files with 5 additions and 2 deletions

View file

@ -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': {