We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9635a8 + 035653a commit 2c06b45Copy full SHA for 2c06b45
elementary/monitor/api/tests/tests.py
@@ -429,13 +429,13 @@ def _parse_test_db_row(cls, test_db_row: TestDBRowSchema) -> TestSchema:
429
),
430
created_at=test_db_row.created_at if test_db_row.created_at else None,
431
latest_run_time=(
432
- latest_run_datetime.isoformat() if latest_run_datetime else None
433
- ),
434
- latest_run_time_utc=(
435
latest_run_datetime.astimezone(tz.tzlocal()).isoformat()
436
if latest_run_datetime
437
else None
438
+ latest_run_time_utc=(
+ latest_run_datetime.isoformat() if latest_run_datetime else None
+ ),
439
latest_run_status=(
440
test_db_row.latest_run_status if test_db_row.latest_run_status else None
441
0 commit comments