Fix otbr tests (#88184)
This commit is contained in:
parent
2af4d2152b
commit
6254200b37
2 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,7 @@ from homeassistant.setup import async_setup_component
|
|||
from . import BASE_URL
|
||||
|
||||
from tests.test_util.aiohttp import AiohttpClientMocker
|
||||
from tests.typing import WebSocketGenerator
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
@ -53,10 +54,11 @@ async def test_get_info(
|
|||
async def test_get_info_no_entry(
|
||||
hass: HomeAssistant,
|
||||
aioclient_mock: AiohttpClientMocker,
|
||||
websocket_client,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
) -> None:
|
||||
"""Test async_get_info."""
|
||||
await async_setup_component(hass, "otbr", {})
|
||||
websocket_client = await hass_ws_client(hass)
|
||||
await websocket_client.send_json(
|
||||
{
|
||||
"id": 5,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue