Add type hints to integration tests (part 19) (#88178)
This commit is contained in:
parent
f5a05c1bd2
commit
80ee196fd8
50 changed files with 974 additions and 526 deletions
|
@ -1,9 +1,11 @@
|
|||
"""The test for sensor helpers."""
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.sensor import SensorDeviceClass
|
||||
from homeassistant.components.sensor.helpers import async_parse_date_datetime
|
||||
|
||||
|
||||
def test_async_parse_datetime(caplog):
|
||||
def test_async_parse_datetime(caplog: pytest.LogCaptureFixture) -> None:
|
||||
"""Test async_parse_date_datetime."""
|
||||
entity_id = "sensor.timestamp"
|
||||
device_class = SensorDeviceClass.TIMESTAMP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue