Lines Matching full:hosts
13 """Populate the test database with some hosts and labels."""
21 self.hosts = [models.Host.objects.create(hostname=hostname)
26 acl_group.hosts = self.hosts
27 models.AclGroup.smart_get('Everyone').hosts = []
34 for host in self.hosts:
46 self.hosts[0].labels.add(self.label1)
47 self.hosts[1].labels.add(self.label2)
49 self.hosts[hostnum].labels.add(self.label6)
50 self.hosts[6].labels.add(self.label7)
52 self.hosts[hostnum].labels.add(self.label6)
53 self.hosts[hostnum].labels.add(self.label7)
89 def _create_job(self, hosts=[], metahosts=[], priority=0, active=False, argument
97 @param hosts - A list of explicit host ids for this job to be
106 case, hosts, and metahosts must all be empty)
108 acquire hosts change with the aclgroups of the owners.
143 for host_id in hosts:
152 assert not (hosts or metahosts)
157 def _create_job_simple(self, hosts, use_metahost=False, argument
161 args = {'hosts' : [], 'metahosts' : []}
163 args['metahosts'] = hosts
165 args['hosts'] = hosts