Searched refs:smart_get (Results 1 – 8 of 8) 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 …]
671 models.Host.smart_get(ipaddress).delete()689 label = models.Label.smart_get(label_name)696 host_obj = models.Host.smart_get(ipaddress)713 host_obj = models.Host.smart_get(ipaddress)714 label = models.Label.smart_get(label_name)735 host_obj = models.Host.smart_get(ipaddress)750 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)
27 models.AclGroup.smart_get('Everyone').hosts = []
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))
325 return cls.smart_get(cls.DEFAULT_DRONE_SET_NAME)1303 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)