'Calls HQE._do_schedule_pre_job_tasks() and returns the created special
task'

def _test_pre_job_tasks_helper(self):

    self._task = None
    queue_entry = scheduler_models.HostQueueEntry.fetch('id    =    1')[0]
    queue_entry._do_schedule_pre_job_tasks()
    return self._task
