Changeset 1271

Show
Ignore:
Timestamp:
04/17/08 18:16:02 (7 months ago)
Author:
sgillies
Message:

Pull in pleiades.vocabulary

Files:

Legend:

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

    r1258 r1271  
    33  xmlns:five="http://namespaces.zope.org/five" 
    44  xmlns:genericsetup="http://namespaces.zope.org/genericsetup" 
    5   i18n_domain="pleiades.policy"> 
     5  i18n_domain="pleiades.policy" 
     6  > 
     7 
     8  <include package="pleiades.vocabulary"/> 
    69 
    710  <five:registerPackage package="." initialize=".initialize" /> 
  • pleiades.policy/trunk/pleiades/policy/tests/base.py

    r1264 r1271  
    1818    """ 
    1919 
    20     # Load the ZCML configuration for the optilux.policy package. 
    21      
    2220    fiveconfigure.debug_mode = True 
    2321    import pleiades.policy 
     
    2927    # the ZCML. 
    3028     
    31     ztc.installPackage('pleiades.policy') 
     29    ztc.installProduct('pleiades.policy') 
     30    ztc.installProduct('pleiades.vocabulary') 
    3231     
    3332# The order here is important: We first call the (deferred) function which 
  • pleiades.policy/trunk/pleiades/policy/tests/test_setup.py

    r1263 r1271  
    3939        self.failUnless('locations' in self.portal.keys()) 
    4040        self.failUnless('places' in self.portal.keys()) 
    41         self.failUnless('thesaurus' in self.portal.keys()) 
     41 
     42    def test_vocabulary_installed(self): 
     43        self.failUnless('vocabulary' in self.portal.keys()) 
     44        skins = getToolByName(self.portal, 'portal_skins') 
     45        layer = skins.getSkinPath('Pleiades Vocabulary') 
     46        self.failUnless('pleiades_vocabulary_custom_templates' in layer) 
    4247 
    4348