mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Improve type hints in dsmr tests (#123785)
This commit is contained in:
@@ -1521,7 +1521,7 @@ async def test_gas_meter_providing_energy_reading(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_all_obis_references_exists():
|
def test_all_obis_references_exists() -> None:
|
||||||
"""Verify that all attributes exist by name in database."""
|
"""Verify that all attributes exist by name in database."""
|
||||||
for sensor in SENSORS:
|
for sensor in SENSORS:
|
||||||
assert hasattr(obis_references, sensor.obis_reference)
|
assert hasattr(obis_references, sensor.obis_reference)
|
||||||
|
Reference in New Issue
Block a user