Exemple #1
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     # Some tests require the filter and order specification factories.
     flt_spec_fac = FilterSpecificationFactory()
     ord_spec_fac = OrderSpecificationFactory()
     reg = get_current_registry()
     reg.registerUtility(flt_spec_fac, IFilterSpecificationFactory)
     reg.registerUtility(ord_spec_fac, IOrderSpecificationFactory)
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self.visitor = self._make_visitor()
     self.specs_factory = self._make_specs_factory()
Exemple #3
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self._repository = Repository('DUMMY', Aggregate)
     self._session = Session(self._repository)
Exemple #4
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self.visitor = self._make_visitor()
     self.specs_factory = self._make_specs_factory()
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self._repository = Repository('DUMMY', Aggregate)
     self._session = Session(self._repository)
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self.data = {('children',) : True,
                  ('children', 'children') : True}