Esempio n. 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)
Esempio n. 2
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self.visitor = self._make_visitor()
     self.specs_factory = self._make_specs_factory()
Esempio n. 3
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self._repository = Repository('DUMMY', Aggregate)
     self._session = Session(self._repository)
Esempio n. 4
0
 def set_up(self):
     Pep8CompliantTestCase.set_up(self)
     self.visitor = self._make_visitor()
     self.specs_factory = self._make_specs_factory()
Esempio n. 5
0
 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}