1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add type hints to integration tests (part 3) (#87844)

This commit is contained in:
epenet
2023-02-10 16:05:01 +01:00
committed by GitHub
parent 22bfb99db4
commit fa7acb4f0d
50 changed files with 745 additions and 386 deletions

View File

@@ -53,7 +53,9 @@ async def setup_notify(hass):
await hass.async_block_till_done()
async def test_no_notify_service(hass, mock_clicksend_tts_notify, caplog):
async def test_no_notify_service(
hass: HomeAssistant, mock_clicksend_tts_notify, caplog: pytest.LogCaptureFixture
) -> None:
"""Test missing platform notify service instance."""
caplog.set_level(logging.ERROR)
mock_clicksend_tts_notify.return_value = None