mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 21:40:16 +00:00
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments * Black * Cancel fixture amends
This commit is contained in:
@@ -1176,7 +1176,7 @@ async def test_unit_conversion_priority_legacy_conversion_removed(
|
||||
assert state.attributes[ATTR_UNIT_OF_MEASUREMENT] == original_unit
|
||||
|
||||
|
||||
def test_device_classes_aligned():
|
||||
def test_device_classes_aligned() -> None:
|
||||
"""Make sure all number device classes are also available in SensorDeviceClass."""
|
||||
|
||||
for device_class in NumberDeviceClass:
|
||||
|
||||
Reference in New Issue
Block a user