Changeset 1320

Show
Ignore:
Timestamp:
05/27/08 18:34:35 (6 months ago)
Author:
sgillies
Message:

Use installPackage in test setup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pleiades.policy/trunk/pleiades/policy/Extensions/Install.py

    r1286 r1320  
    55    'ATVocabularyManager', 
    66    'PleiadesEntity', 
     7    'zgeo.plone.geographer', 
     8    'zgeo.plone.kml', 
    79    'pleiades.workspace', 
    810    'pleiades.vocabulary', 
  • pleiades.policy/trunk/pleiades/policy/configure.zcml

    r1286 r1320  
    66  > 
    77 
     8  <include package="zgeo.plone.geographer"/> 
     9  <include package="zgeo.plone.kml"/> 
    810  <include package="pleiades.workspace"/> 
    911  <include package="pleiades.theme"/> 
  • pleiades.policy/trunk/pleiades/policy/tests/base.py

    r1286 r1320  
    1818    """ 
    1919 
    20     fiveconfigure.debug_mode = True 
    21     import pleiades.policy 
    22     zcml.load_config('configure.zcml', pleiades.policy) 
    23     fiveconfigure.debug_mode = False 
     20    #fiveconfigure.debug_mode = True 
     21    #import pleiades.policy 
     22    #zcml.load_config('configure.zcml', pleiades.policy) 
     23    #fiveconfigure.debug_mode = False 
    2424     
    2525    # We need to tell the testing framework that these products 
     
    2727    # the ZCML. 
    2828     
    29     ztc.installProduct('pleiades.policy') 
    30     ztc.installProduct('pleiades.vocabulary') 
    31     ztc.installProduct('pleiades.theme') 
    32     ztc.installProduct('pleiades.workspace') 
     29    ztc.installPackage('pleiades.policy') 
     30    ztc.installPackage('pleiades.vocabulary') 
     31    ztc.installPackage('pleiades.theme') 
     32    ztc.installPackage('pleiades.workspace') 
     33    ztc.installPackage('pleiades.plone.geographer') 
     34    ztc.installPackage('pleiades.plone.kml') 
     35 
    3336     
    3437# The order here is important: We first call the (deferred) function which 
  • pleiades.policy/trunk/pleiades/policy/tests/test_setup.py

    r1279 r1320  
    4646        skins = getToolByName(self.portal, 'portal_skins') 
    4747        layer = skins.getSkinPath('Pleiades Theme') 
     48        import pdb; pdb.set_trace() 
    4849        self.failUnless('pleiades_theme_custom_images' in layer) 
    4950        self.failUnless('pleiades_theme_custom_templates' in layer)