Add more type hints to conftest.py (#87842)
* Add more type hints in conftest.py * Adjust stop_hass * Adjust mock_integration_frame * Adjust pylint plugin
This commit is contained in:
parent
6d87ebc7de
commit
b7b82b1e3f
6 changed files with 64 additions and 31 deletions
|
@ -7,7 +7,9 @@ import pytest
|
|||
from homeassistant.helpers import frame
|
||||
|
||||
|
||||
async def test_extract_frame_integration(caplog, mock_integration_frame):
|
||||
async def test_extract_frame_integration(
|
||||
caplog: pytest.LogCaptureFixture, mock_integration_frame: Mock
|
||||
) -> None:
|
||||
"""Test extracting the current frame from integration context."""
|
||||
found_frame, integration, path = frame.get_integration_frame()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue