def test_validate_labels_strategy_missing(self): fake_labels = {'strategy': 'spread'} attr_validator.validate_labels_strategy(fake_labels)
def test_validate_labels_strategy_valid(self): fake_labels = {'swarm_strategy': 'spread'} attr_validator.validate_labels_strategy(fake_labels)