Exemplo n.º 1
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     reg = self.config.registry
     reg.registerUtility(
         UserMessageNotifier(),  # pylint:disable=E1103
         IUserMessageNotifier)
     self.values = []
Exemplo n.º 2
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.parser = parse_filter
Exemplo n.º 3
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     reg = self.config.registry
     reg.registerUtility(UserMessageNotifier(), # pylint:disable=E1103
                         IUserMessageNotifier)
     self.values = []
Exemplo n.º 4
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.config.load_zcml('configure.zcml')
     self._interfaces = [IMyEntityParent, IMyEntity, IMyEntityChild,
                         IMyEntityGrandchild]
Exemplo n.º 5
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.candidate = Candidate(number_attr=0, text_attr='attr')
Exemplo n.º 6
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.config.load_zcml('configure_no_rdb.zcml')
     self._interfaces = [
         IMyEntityParent, IMyEntity, IMyEntityChild, IMyEntityGrandchild
     ]
Exemplo n.º 7
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.candidate = Candidate(number_attr=0, text_attr='attr')
Exemplo n.º 8
0
 def set_up(self):
     TestCaseWithConfiguration.set_up(self)
     self.parser = parse_order