Lines Matching refs:tasks
159 tasks = self.job_query_manager.get_prioritized_special_tasks()
160 self.assertTrue(tasks[1].queue_entry_id is None and
161 tasks[0].queue_entry_id == hqe.id)
165 tasks = self.job_query_manager.get_prioritized_special_tasks()
166 self.assertTrue(tasks[0].id == task1.id)
221 tasks = self.job_query_manager.get_prioritized_special_tasks(
223 self.assertTrue(tasks == [])
224 tasks = self.job_query_manager.get_prioritized_special_tasks(
226 self.assertTrue(tasks[0].id == task.id)
228 tasks = self.job_query_manager.get_prioritized_special_tasks(
230 self.assertTrue(tasks[0].id == task.id)
251 tasks = self.job_query_manager.get_prioritized_special_tasks(
255 self.assertTrue(len(tasks) == 1 and tasks[0].queue_entry_id == hqe.id)
260 task = tasks[0]