Lines Matching refs:labels
59 Base class to give a template for mapping labels to tests.
71 """A dictionary mapping labels to test names."""
108 def partition(cls, labels):
110 Filter a list of labels into two sets: those labels that we know how to
113 @param labels: A list of strings of labels.
115 labels, and the second element is a set of the actionable
116 labels.
121 for label in labels:
229 def filter_labels(labels):
231 Filter a list of labels into two sets: those labels that we know how to
235 @param labels: A list of strings of labels.
237 labels, and the second element is a set of the provisionable
238 labels.
244 return Provision.partition(labels)
247 def split_labels(labels):
249 Split a list of labels into a dict mapping name to value. All labels must
250 be provisionable labels, or else a ValueError
252 @param labels: list of strings of label names
267 for label in labels:
301 def run_special_task_actions(job, host, labels, task):
304 corresponding to the passed in labels.
310 @param labels: The list of job labels to work on.
316 capabilities, configuration = filter_labels(labels)