Changeset 213


Ignore:
Timestamp:
05/21/09 19:00:03 (6 years ago)
Author:
brent
Message:

Added load test tool shell code to eduCommons.

Location:
enpraxis.educommons/trunk/enpraxis/educommons
Files:
9 added
1 edited

Legend:

Unmodified
Added
Removed
  • enpraxis.educommons/trunk/enpraxis/educommons/__init__.py

    r8 r213  
    1 from Products.CMFCore.utils import ContentInit 
     1from Products.CMFCore.utils import ContentInit, ToolInit 
    22from config import PROJECTNAME, GLOBALS 
    33from Products.CMFCore.permissions import AddPortalContent 
     
    77from collective.captcha.browser.captcha import Captcha 
    88from zope.i18nmessageid import MessageFactory 
     9from enpraxis.educommons.loadtesttool import LoadTestTool 
    910 
    1011allow_module('collective.captcha.browser.captcha') 
    11 allow_class(Captcha)  
     12allow_class(Captcha) 
     13 
     14tools = ( LoadTestTool, ) 
    1215 
    1316def initialize(context): 
     
    2427                ).initialize(context) 
    2528 
     29    ToolInit('eduCommons Tool', 
     30             tools = tools, 
     31             icon='tool.gif', 
     32             ).initialize(context) 
     33 
    2634eduCommonsMessageFactory = MessageFactory('eduCommons') 
    2735 
Note: See TracChangeset for help on using the changeset viewer.