Home
last modified time | relevance | path

Searched refs:label_ids (Results 1 – 6 of 6) sorted by relevance

/external/autotest/scheduler/
Drdb_hosts_unittest.py52 label_ids = set([label.id for label in
58 self.assertTrue(set(server_host.labels) == label_ids and
/external/autotest/frontend/tko/
Dmodels.py369 label_ids = list( # listifying avoids a double query below
372 if len(label_ids) < len(set(label_names)):
375 return dict(name_and_id for name_and_id in label_ids)
379 label_ids = self._get_label_ids_from_names(label_names).itervalues()
383 ','.join(str(label_id) for label_id in label_ids)))
Drpc_interface.py351 label_ids = models.TestView.objects.query_test_label_ids(test_filter_data)
352 labels = models.TestLabel.list_objects({'id__in' : label_ids})
/external/autotest/frontend/afe/
Dadmin.py119 label_ids = (models.Label.objects.filter(name__in=label_names)
121 return [str(label_id) for label_id in label_ids]
Dmodels.py592 def get_hosts_with_label_ids(cls, label_ids, initial_query): argument
599 labels = Label.objects.filter(id__in=label_ids)
1698 label_ids = [str(l.id) for l in static_labels]
1703 'label_ids': '(%s)' % ','.join(label_ids)})
1707 label_ids = [str(l.id) for l in non_static_labels]
1712 'label_ids': '(%s)' % ','.join(label_ids)})
Drpc_interface.py318 label_ids = [label.id for label in labels]
319 replaced = models.ReplacedLabel.objects.filter(label__id__in=label_ids)