Changeset 1417

Show
Ignore:
Timestamp:
09/11/08 13:44:50 (3 months ago)
Author:
sgillies
Message:

Add smart folders creation and tests of

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pleiades.policy/trunk/pleiades/policy/configure.zcml

    r1389 r1417  
    11<configure 
    22  xmlns="http://namespaces.zope.org/zope" 
     3  xmlns:browser="http://namespaces.zope.org/browser" 
    34  xmlns:five="http://namespaces.zope.org/five" 
    45  xmlns:genericsetup="http://namespaces.zope.org/genericsetup" 
     
    1213  <include package="pleiades.theme"/> 
    1314  <include package="pleiades.vocabularies"/> 
     15  <include package="pleiades.kml"/> 
    1416 
    1517  <five:registerPackage package="." initialize=".initialize" /> 
    16      
     18 
     19  <browser:page 
     20    for="Products.PleiadesEntity.content.interfaces.IPlaceContainer" 
     21    name="create-collections" 
     22    class=".browser.CreateCollections" 
     23    permission="cmf.ModifyPortalContent" 
     24    /> 
     25 
    1726  <genericsetup:registerProfile 
    1827    name="default" 
  • pleiades.policy/trunk/pleiades/policy/tests/base.py

    r1320 r1417  
    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 
     
    3131    ztc.installPackage('pleiades.theme') 
    3232    ztc.installPackage('pleiades.workspace') 
    33     ztc.installPackage('pleiades.plone.geographer') 
    34     ztc.installPackage('pleiades.plone.kml') 
     33    ztc.installPackage('zgeo.plone.geographer') 
     34    ztc.installPackage('zgeo.plone.kml') 
     35    ztc.installPackage('pleiades.kml') 
    3536 
    3637