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

This commit is contained in:
Florian Ludwig
2019-01-09 15:13:13 -08:00
committed by Paulus Schoutsen
parent f17d6c0593
commit 8cf595dd3e
2 changed files with 5 additions and 2 deletions
+2 -1
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': {