CI: deprecations #15172
Annotations
2 errors
Run pytest:
tests/components/recorder/test_migration_from_schema_32.py#L1333
test_stats_timestamp_conversion_is_reentrant
AssertionError: assert [{'created': ...999964), ...}] == [{'created': ...999964), ...}]
At index 0 diff: {'id': 1, 'created': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'created_ts': 1699369004.999964, 'metadata_id': 1000, 'start': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'start_ts': 1699369004.999964, 'mean': None, 'min': None, 'max': None, 'last_reset': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'last_reset_ts': 1699369004.999964, 'state': 1.0, 'sum': None} != {'created': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'created_ts': 1699369003.999964, 'id': 1, 'last_reset': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'last_reset_ts': 1699369003.999964, 'max': None, 'mean': None, 'metadata_id': 1000, 'min': None, 'start': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964), 'start_ts': 1699369003.999964, 'state': 1.0, 'sum': None}
Full diff:
[
{
'created': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964),
- 'created_ts': 1699369003.999964,
? ^
+ 'created_ts': 1699369004.999964,
? ^
'id': 1,
'last_reset': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964),
- 'last_reset_ts': 1699369003.999964,
? ^
+ 'last_reset_ts': 1699369004.999964,
? ^
'max': None,
'mean': None,
'metadata_id': 1000,
'min': None,
'start': datetime.datetime(2023, 11, 7, 14, 56, 43, 999964),
- 'start_ts': 1699369003.999964,
? ^
+ 'start_ts': 1699369004.999964,
? ^
'state': 1.0,
'sum': None,
},
{
'created': None,
'created_ts': 1715353003.999964,
'id': 2,
'last_reset': None,
'last_reset_ts': 1715353003.999964,
'max': None,
'mean': None,
'metadata_id': 1000,
'min': None,
'start': None,
'start_ts': 1715353003.999964,
'state': 1.0,
'sum': None,
},
{
'created': datetime.datetime(2024, 10, 7, 14, 56, 43, 999964),
- 'created_ts': 1728313003.999964,
? ^
+ 'created_ts': 1728313004.999964,
? ^
'id': 3,
'last_reset': datetime.datetime(2024, 10, 7, 14, 56, 43, 999964),
- 'last_reset_ts': 1728313003.999964,
? ^
+ 'last_reset_ts': 1728313004.999964,
? ^
'max': None,
'mean': None,
'metadata_id': 1000,
'min': None,
'start': datetime.datetime(2024, 10, 7, 14, 56, 43, 999964),
- 'start_ts': 1728313003.999964,
? ^
+ 'start_ts': 1728313004.999964,
? ^
'state': 1.0,
'sum': None,
},
]
|
Run pytest
Process completed with exit code 1.
|
Loading