Changeset 2534 in products for quintagroup.plonegooglesitemaps/branches/test_refactoring/quintagroup/plonegooglesitemaps/tests/base.py
- Timestamp:
- Jun 15, 2010 6:36:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/test_refactoring/quintagroup/plonegooglesitemaps/tests/base.py
r2394 r2534 30 30 31 31 32 class MixinTestCase :32 class MixinTestCase(object): 33 33 """ Define layer and common afterSetup method with package installation. 34 34 Package installation on plone site setup impossible because of … … 39 39 def afterSetUp(self): 40 40 self.loginAsPortalOwner() 41 self.workflow = self.portal.portal_workflow 41 42 42 43 … … 44 45 """ For unit tests """ 45 46 47 46 48 class FunctionalTestCase(MixinTestCase, ptc.FunctionalTestCase): 47 49 """ For functional tests """ 50 51 def afterSetUp(self): 52 super(FunctionalTestCase, self).afterSetUp() 53 self.auth = "%s:%s" % (portal_owner, default_password) 48 54 49 55 # Initialize all needed zcml directives
Note: See TracChangeset
for help on using the changeset viewer.