Adding a job_tasks test.

This commit is contained in:
Luke Sneeringer
2014-06-19 13:16:35 -05:00
parent 041513ef61
commit 91afd12f31
2 changed files with 58 additions and 1 deletions

View File

@@ -1572,7 +1572,8 @@ class JobJobTasksList(BaseJobEventsList):
data.setdefault(parent_id, [])
data[parent_id].append(line)
# Iterate over the start events and compile information about each one.
# Iterate over the start events and compile information about each one
# using their children.
qs = parent_task.children.filter(event__in=STARTING_EVENTS,
id__in=data.keys())
for task_start_event in qs: