

def _create_resp_kwargs(self, task_uuid, status, progress, node_status, node_progress):
    return {
        'task_uuid': task_uuid,
        'progress': progress,
        'status': status,
        'nodes': [{
            'uid': self.env.nodes[0].id,
            'status': node_status,
            'progress': node_progress,
        }],
    }

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_rpc_consumer.py TestConsumer._create_resp_kwargs/original