mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 06:50:12 +00:00
Add LogCaptureFixture type hints in tests (#118372)
This commit is contained in:
@@ -20,7 +20,11 @@ from tests.common import MockConfigEntry
|
||||
],
|
||||
)
|
||||
async def test_init_error(
|
||||
hass: HomeAssistant, mock_config_entry: MockConfigEntry, caplog, side_effect, error
|
||||
hass: HomeAssistant,
|
||||
mock_config_entry: MockConfigEntry,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
side_effect,
|
||||
error,
|
||||
) -> None:
|
||||
"""Test initialization errors."""
|
||||
with patch(
|
||||
|
||||
Reference in New Issue
Block a user