Lines Matching refs:jobs
343 jobs = self.create_suite(num=2)
345 params=(jobs[0].id,))[0]
347 hqe = self.assign_host_to_job(host1, jobs[0], r)
348 self.verify_state(r, {jobs['parent_job'].id:1},
349 {host1.id: jobs['parent_job'].id})
352 self.verify_state(r, {jobs['parent_job'].id:1},
353 {host1.id: jobs['parent_job'].id})
355 self.assign_host_to_job(host2, jobs[1], r)
356 self.verify_state(r, {jobs['parent_job'].id:2},
357 {host1.id: jobs['parent_job'].id,
358 host2.id: jobs['parent_job'].id})
361 self.verify_state(r, {jobs['parent_job'].id:1},
362 {host2.id: jobs['parent_job'].id})
373 jobs = self.create_suite(num=3)
374 pid = jobs['parent_job'].id
383 self.assign_host_to_job(host1, jobs[0], r)
385 self.assign_host_to_job(host2, jobs[1], r)
387 self.assign_host_to_job(host3, jobs[2], r)