mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Improve type hints in dsmr tests (#123785)
This commit is contained in:
parent
e15ac2fbe0
commit
193a7b7360
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user