def METHOD_NAME(self):
    tasks_data = OrderedDict()
    tasks_data['myuuid'] = self.my_task
    self.elastic.finish_task(
        tasks_data,
        'ok',
        self.my_task_result
    )
    task_data = tasks_data['myuuid']
    host_data = task_data.host_data['myhost_uuid']
    self.assertEqual(host_data.uuid, 'myhost_uuid')
    self.assertEqual(host_data.name, 'myhost')
    self.assertEqual(host_data.status, 'ok')