def setup(self):
    self.size = 11
    subtasks = make_mock_group(self.app, 10)
    failed = mock_task('ts11', states.FAILURE, KeyError('Baz'))
    save_result(self.app, failed)
    failed_res = self.app.AsyncResult(failed['id'])
    self.ts = self.app.GroupResult(uuid(), (subtasks + [failed_res]))
def setup(self):
    self.size = 11
    subtasks = make_mock_group(self.app, 10)
    failed = mock_task('ts11', states.FAILURE, KeyError('Baz'))
    save_result(self.app, failed)
    failed_res = self.app.AsyncResult(failed['id'])
    self.ts = self.app.GroupResult(uuid(), (subtasks + [failed_res]))