def __init__(self, config, pattern_assistant): self.config = config self.pattern_assistant = pattern_assistant self._parsers = {} self._constraint_base = {} self._constraint_links = ConstraintLinksBase() self.effect_id = None
def setUp(self): self.links = [ (1, 10, 100), (1, 20, 200), (2, 10, 100), (2, 10, 200), (2, 20, 100), (2, 20, 200), ] self.constraint_links = ConstraintLinksBase(self.links)