[CMF-checkins] CVS: CMF/CMFActionIcons/tests - test_ActionIconsTool.py:1.3

Yvo Schubbe y.2004_ at wcm-solutions.de
Mon Apr 26 08:14:46 EDT 2004


Update of /cvs-repository/CMF/CMFActionIcons/tests
In directory cvs.zope.org:/tmp/cvs-serv5625/CMFActionIcons/tests

Modified Files:
	test_ActionIconsTool.py 
Log Message:
- removed pre Zope 2.6.4 compatibility code
- some whitespace, import and header cleanup


=== CMF/CMFActionIcons/tests/test_ActionIconsTool.py 1.2 => 1.3 ===
--- CMF/CMFActionIcons/tests/test_ActionIconsTool.py:1.2	Fri Apr 23 08:46:08 2004
+++ CMF/CMFActionIcons/tests/test_ActionIconsTool.py	Mon Apr 26 08:14:15 2004
@@ -1,25 +1,32 @@
 ##############################################################################
 #
 # Copyright (c) 2003 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
-import unittest
+""" Unit tests for ActionIconsTool module.
+
+$Id$
+"""
 
+import unittest
+import Testing
 import Zope
+Zope.startup()
+
 
 class ActionIconToolTests( unittest.TestCase ):
 
     def _makeOne( self, *args, **kw ):
 
         from Products.CMFActionIcons.ActionIconsTool import ActionIconsTool
-        
+
         return ActionIconsTool( *args, **kw )
 
     def test_empty( self ):
@@ -217,4 +224,3 @@
 
 if __name__ == '__main__':
     unittest.main(defaultTest='test_suite')
-




More information about the CMF-checkins mailing list