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