Skip to content

Use quirks v2 unit enums for quirks test #1012

Use quirks v2 unit enums for quirks test

Use quirks v2 unit enums for quirks test #1012

Triggered via pull request January 29, 2025 22:15
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: pull_request
Matrix: shared-ci / Prepare base dependencies
Matrix: shared-ci / pytest
shared-ci  /  Run pre-commit
13s
shared-ci / Run pre-commit
shared-ci  /  Process test coverage
0s
shared-ci / Process test coverage
Fit to window
Zoom out
Zoom in

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