Added canceled_on field to unified_jobs model

- When a job is canceled, the canceled_on field will populate with date/time
This commit is contained in:
Jake Jackson
2019-11-20 14:57:15 -05:00
committed by Ryan Petrello
parent 7b3d36ba53
commit d72896f9a6
4 changed files with 37 additions and 6 deletions

View File

@@ -153,7 +153,8 @@ def test_summary_fields_recent_jobs(job_template, admin_user, get):
'id': job.id,
'status': 'failed',
'finished': job.finished,
'type': 'job'
'canceled_on': None,
'type': 'job'
} for job in jobs[-10:][::-1]]