Ignore:
Timestamp:
Mar 18, 2010 1:56:39 PM (14 years ago)
Author:
mylan
Message:

#161: Fixed local SiteManager? loosing (tests breaks in plone4)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/tests/base.py

    r1908 r1937  
    5353        app = ztc.app() 
    5454        portal = app[ptc_setup.portal_name] 
     55 
     56        # Sets the local site/manager 
     57        ptc_setup._placefulSetUp(portal) 
     58        # Install PROJECT 
    5559        qi = getattr(portal, 'portal_quickinstaller', None) 
    5660        qi.installProduct(PROJECT_NAME) 
    5761        transaction.commit() 
    5862 
     63    @classmethod 
     64    def tearDown(cls): 
     65        ptc_setup._placefulTearDown() 
     66         
    5967 
    6068class MixinTestCase: 
Note: See TracChangeset for help on using the changeset viewer.