mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Improve Supervisor API handling (#89379)
This commit is contained in:
@@ -153,6 +153,11 @@ async def test_websocket_supervisor_api(
|
||||
msg = await websocket_client.receive_json()
|
||||
assert msg["result"]["version_latest"] == "1.0.0"
|
||||
|
||||
assert aioclient_mock.mock_calls[-1][3] == {
|
||||
"X-Hass-Source": "core.websocket_api",
|
||||
"Authorization": "Bearer 123456",
|
||||
}
|
||||
|
||||
|
||||
async def test_websocket_supervisor_api_error(
|
||||
hassio_env,
|
||||
|
||||
Reference in New Issue
Block a user