Use quirks v2 unit enums for quirks test #1012
Annotations
5 errors and 4 warnings
shared-ci / Run tests Python 3.13:
tests/test_sensor.py#L1439
test_last_feeding_size_sensor_v2
AssertionError: assert <UnitOfMass.GRAMS: 'g'> == 'g'
+ where <UnitOfMass.GRAMS: 'g'> = SensorEntityInfo(fallback_name='Last feeding size', unique_id='00:0d:6f:00:0a:90:69:e7-1-last_feeding_size', platform=...=True, group_id=None, attribute='last_feeding_size', decimals=1, divisor=1, multiplier=1, unit=<UnitOfMass.GRAMS: 'g'>).unit
+ where SensorEntityInfo(fallback_name='Last feeding size', unique_id='00:0d:6f:00:0a:90:69:e7-1-last_feeding_size', platform=...=True, group_id=None, attribute='last_feeding_size', decimals=1, divisor=1, multiplier=1, unit=<UnitOfMass.GRAMS: 'g'>) = <zha.application.platforms.sensor.Sensor object at 0x7f3617f1f770>.info_object
|
shared-ci / Run tests Python 3.13
Process completed with exit code 1.
|
shared-ci / Run tests Python 3.12
The job was canceled because "_3_13" failed.
|
shared-ci / Run tests Python 3.12:
tests/test_sensor.py#L1439
test_last_feeding_size_sensor_v2
AssertionError: assert <UnitOfMass.GRAMS: 'g'> == 'g'
+ where <UnitOfMass.GRAMS: 'g'> = SensorEntityInfo(fallback_name='Last feeding size', unique_id='00:0d:6f:00:0a:90:69:e7-1-last_feeding_size', platform=...=True, group_id=None, attribute='last_feeding_size', decimals=1, divisor=1, multiplier=1, unit=<UnitOfMass.GRAMS: 'g'>).unit
+ where SensorEntityInfo(fallback_name='Last feeding size', unique_id='00:0d:6f:00:0a:90:69:e7-1-last_feeding_size', platform=...=True, group_id=None, attribute='last_feeding_size', decimals=1, divisor=1, multiplier=1, unit=<UnitOfMass.GRAMS: 'g'>) = <zha.application.platforms.sensor.Sensor object at 0x7fad47f29910>.info_object
|
shared-ci / Run tests Python 3.12
The operation was canceled.
|
shared-ci / Run tests Python 3.13:
zha/zigbee/cluster_handlers/__init__.py#L588
coroutine 'Cluster.read_attributes' was never awaited
|
shared-ci / Run tests Python 3.13:
zha/zigbee/cluster_handlers/__init__.py#L588
coroutine 'Cluster.read_attributes' was never awaited
|
shared-ci / Run tests Python 3.12:
zha/zigbee/cluster_handlers/__init__.py#L588
coroutine 'Cluster.read_attributes' was never awaited
|
shared-ci / Run tests Python 3.12:
zha/zigbee/cluster_handlers/__init__.py#L588
coroutine 'Cluster.read_attributes' was never awaited
|