Add LogCaptureFixture type hints in tests (#118372)
This commit is contained in:
parent
aeee222df4
commit
166c588cac
19 changed files with 98 additions and 47 deletions
|
@ -3,6 +3,7 @@
|
|||
import logging
|
||||
|
||||
from freezegun.api import FrozenDateTimeFactory
|
||||
import pytest
|
||||
import requests_mock
|
||||
|
||||
from homeassistant.components.ring.const import SCAN_INTERVAL
|
||||
|
@ -94,7 +95,7 @@ async def test_only_chime_devices(
|
|||
hass: HomeAssistant,
|
||||
requests_mock: requests_mock.Mocker,
|
||||
freezer: FrozenDateTimeFactory,
|
||||
caplog,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
) -> None:
|
||||
"""Tests the update service works correctly if only chimes are returned."""
|
||||
await hass.config.async_set_time_zone("UTC")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue