mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add type hints to core tests (#88478)
This commit is contained in:
@@ -131,7 +131,9 @@ async def test_simple_function_multiargs(hass: HomeAssistant) -> None:
|
||||
|
||||
|
||||
@pytest.mark.no_fail_on_log_exception
|
||||
async def test_callback_exception_gets_logged(hass, caplog):
|
||||
async def test_callback_exception_gets_logged(
|
||||
hass: HomeAssistant, caplog: pytest.LogCaptureFixture
|
||||
) -> None:
|
||||
"""Test exception raised by signal handler."""
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user