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:
epenet 2023-02-11 13:48:53 +01:00 committed by GitHub
parent 6d87ebc7de
commit b7b82b1e3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 31 deletions

View file

@ -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()