[Erp5-report] r6902 - /erp5/trunk/products/ERP5/Tool/TestTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 24 16:03:34 CEST 2006


Author: vincent
Date: Mon Apr 24 16:03:28 2006
New Revision: 6902

URL: http://svn.erp5.org?rev=6902&view=rev
Log:
Improve docstring.
Correct indentation.


Modified:
    erp5/trunk/products/ERP5/Tool/TestTool.py

Modified: erp5/trunk/products/ERP5/Tool/TestTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/TestTool.py?rev=6902&r1=6901&r2=6902&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/TestTool.py (original)
+++ erp5/trunk/products/ERP5/Tool/TestTool.py Mon Apr 24 16:03:28 2006
@@ -41,18 +41,18 @@
 from zLOG import LOG
 
 class TestTool (BaseTool):
-    """
-    holds tests
-    """
-    id = 'portal_tests'
-    meta_type = 'ERP5 Test Tool'
-    portal_type = 'Test Tool'
-    allowed_types = ( 'ERP5 Portal Test',)
+  """
+    Container for fonctionnal tests.
+  """
+  id = 'portal_tests'
+  meta_type = 'ERP5 Test Tool'
+  portal_type = 'Test Tool'
+  allowed_types = ( 'ERP5 Portal Test',)
 
-    # Declarative Security
-    security = ClassSecurityInfo()
+  # Declarative Security
+  security = ClassSecurityInfo()
 
-    security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
-    manage_overview = DTMLFile( 'explainRuleTool', _dtmldir )
+  security.declareProtected( Permissions.ManagePortal, 'manage_overview' )
+  manage_overview = DTMLFile( 'explainRuleTool', _dtmldir )
 
 InitializeClass(TestTool)




More information about the Erp5-report mailing list