def _GetTasksNoAcquireLock(self):
    assert self._lock.locked()
    tasks = []
    for eta, task_name, task in self._sorted_by_eta:
      tasks.append(task)
    return tasks
Helper method for tests returning all tasks sorted by eta.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/taskqueue/taskqueue_stub.py/_Queue._GetTasksNoAcquireLock