[CMF-checkins] CVS: Products/CMFDefault/tests - test_all.py:1.13.26.1

Tres Seaver tseaver at zope.com
Fri Apr 22 16:04:01 EDT 2005


Update of /cvs-repository/Products/CMFDefault/tests
In directory cvs.zope.org:/tmp/cvs-serv29516/CMFDefault/tests

Modified Files:
      Tag: CMF-1_4-branch
	test_all.py 
Log Message:
 - Suppress test duplication under 'bin/zopectl test'.


=== Products/CMFDefault/tests/test_all.py 1.13 => 1.13.26.1 ===
--- Products/CMFDefault/tests/test_all.py:1.13	Mon Jan  6 15:43:29 2003
+++ Products/CMFDefault/tests/test_all.py	Fri Apr 22 16:03:26 2005
@@ -2,7 +2,7 @@
 from unittest import main
 from Products.CMFCore.tests.base.utils import build_test_suite
 
-def test_suite():
+def suite():
 
     return build_test_suite('Products.CMFDefault.tests',[
         'test_Discussions',
@@ -23,5 +23,9 @@
         'test_DefaultWorkflow',
         ])
 
+def test_suite():
+    # Just toilence the top-level test.py
+    return None
+
 if __name__ == '__main__':
-    main(defaultTest='test_suite')
+    main(defaultTest='suite')



More information about the CMF-checkins mailing list