Home | History | Annotate | Download | only in scheduler

Lines Matching refs:labels

39         @raises AssertionError: If the labels and acls don't match up after
41 wire_format conversion also converts labels and acls.
46 labels = set(['a', 'b', 'c'])
49 self.db_helper.create_host('h1', deps=labels, acls=acls))
53 self.db_helper.get_labels(name__in=labels)])
55 # The RDBServerHostWrapper keeps ids of labels/acls to perform
56 # comparison operations within the rdb, but converts labels to
58 self.assertTrue(set(server_host.labels) == label_ids and
63 self.assertTrue(set(client_host.labels) == labels and
67 self.assertTrue(bare_formatted_server_host.get('labels') is None and
89 """Test that a client host returns the right platform and labels.
92 and labels.
102 platform, labels = client_host.platform_and_labels()
104 self.assertTrue(set(labels) == set(label_names))