Searched refs:smart_get (Results 1 – 13 of 13) sorted by relevance
104 label_model = models.Label.smart_get(id)124 label_model = models.Label.smart_get(id)135 hosts.append(models.Host.smart_get(h.id))181 label = models.Label.smart_get(id)183 label = models.StaticLabel.smart_get(label.name)211 label = models.Label.smart_get(id)217 label = models.Label.smart_get(add_label(id))273 label = models.Label.smart_get(id)362 host = models.Host.smart_get(id)397 models.Host.smart_get(id).update_object(kwargs)[all …]
136 host2 = models.Host.smart_get(host2.id)419 label1 = models.Label.smart_get('static')439 label1 = models.Label.smart_get('static')457 self.assertEqual(models.Label.smart_get('static').invalid, 0)515 label = models.Label.smart_get('static')530 label = models.Label.smart_get('static')531 label1 = models.Label.smart_get('label1')532 label2 = models.Label.smart_get('label2')552 label = models.Label.smart_get('static')565 host1 = models.Host.smart_get(host.id)[all …]
673 models.Host.smart_get(ipaddress).delete()691 label = models.Label.smart_get(label_name)698 host_obj = models.Host.smart_get(ipaddress)715 host_obj = models.Host.smart_get(ipaddress)716 label = models.Label.smart_get(label_name)737 host_obj = models.Host.smart_get(ipaddress)752 host_obj = models.Host.smart_get(ipaddress)
256 test_objects = [models.Test.smart_get(test) for test in tests]260 profiler_objects = [models.Profiler.smart_get(profiler)303 label = models.Label.smart_get(dependency)334 static_metahost = models.StaticLabel.smart_get(metahost.name)342 label = models.Label.smart_get(label_name)946 return models.Shard.smart_get(shard_hostname)1056 host = models.Host.smart_get(kwargs['id'])1123 label = models.Label.smart_get(name)
580 dest_obj = field_obj.rel.to.smart_get(data[field_name],829 def smart_get(cls, id_or_name, valid_only=True): member in ModelExtensions854 result_objects.append(cls.smart_get(id_or_name))
27 models.AclGroup.smart_get('Everyone').hosts = []
322 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)1299 def smart_get(cls, id_or_name, *args, **kwargs): member in ParameterizedJob
338 models.TestLabel.smart_get(label_id).update_object(data)342 models.TestLabel.smart_get(label_id).delete()358 models.TestLabel.smart_get(label_id).tests.add(*test_ids)362 label = models.TestLabel.smart_get(label_id)
19 models.Host.smart_get('host1').labels.add(self.label3)
454 models.Host.smart_get(1).update_object(dirty=True)459 models.Host.smart_get(1).update_object(dirty=False)
762 actual_status = models.HostQueueEntry.smart_get(1).status
250 host = models.Host.smart_get(host_id)259 host = models.Host.smart_get(host_id)
241 self._shard = models.Shard.smart_get(self.hostname)