Fix subscribe_bootstrap_integrations to send events (#48754)

This commit is contained in:
J. Nick Koston
2021-04-08 07:30:33 -10:00
committed by GitHub
parent c7e4857d2c
commit 1f80c756ab
3 changed files with 7 additions and 6 deletions

View File

@@ -1147,9 +1147,8 @@ async def test_subscribe_unsubscribe_bootstrap_integrations(
async_dispatcher_send(hass, SIGNAL_BOOTSTRAP_INTEGRATONS, message)
msg = await websocket_client.receive_json()
assert msg["id"] == 7
assert msg["success"] is True
assert msg["type"] == "result"
assert msg["result"] == message
assert msg["type"] == "event"
assert msg["event"] == message
async def test_integration_setup_info(hass, websocket_client, hass_admin_user):