Fix up issues caused by merge

- statistics now on job_json
- removed test that validates we handle the case where job has no statistics key - never happens
This commit is contained in:
Martyn Inglis
2016-09-05 14:45:34 +01:00
parent 1ad2665bfe
commit 2f56643e3a
3 changed files with 1 additions and 46 deletions

View File

@@ -178,6 +178,7 @@ def job_json(
'notifications_sent': notifications_sent,
'notifications_requested': notifications_requested,
'job_status': job_status,
'statistics': [],
'created_by': created_by_json(
created_by.id,
created_by.name,