Home | History | Annotate | Download | only in hosts

Lines Matching refs:labels

23     def _create_mock_host(self, labels, attributes):
24 """Create a mock frontend.Host with the given labels and attributes.
26 @param labels: The labels to set on the host.
31 mock_host.labels = labels
41 self.assertListEqual(info.labels, ['label1'])
58 self.assertListEqual(info.labels, ['label1'])
63 """Tests that labels are updated correctly on commit."""
71 labels=['label1']),
73 labels=['label2']),
136 def _create_mock_host(self, labels, attributes):
137 """Create a mock frontend.Host with the given labels and attributes.
139 @param labels: The labels to set on the host.
144 mock_host.labels = labels
149 """Tests that no pool labels are updated on commit."""
160 """Tests that pool labels are updated correctly on commit."""
171 """Tests that pool labels are added correctly on commit."""
182 """Tests that pool labels are not removed on commit."""