Add type hints to integration tests (#88476)

This commit is contained in:
epenet 2023-02-20 11:43:51 +01:00 committed by GitHub
parent 5f25b71df7
commit ec5c3d6330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 15 deletions

View file

@ -47,7 +47,7 @@ async def test_activate(hass: HomeAssistant, mock_litejet) -> None:
mock_litejet.activate_scene.assert_called_once_with(ENTITY_SCENE_NUMBER)
async def test_connected_event(hass, mock_litejet):
async def test_connected_event(hass: HomeAssistant, mock_litejet) -> None:
"""Test handling an event from LiteJet."""
await async_init_integration(hass, use_scene=True)