[CMF-checkins] CVS: Products/CMFCore/tests - test_all.py:1.21.14.1

Tres Seaver tseaver at zope.com
Fri Apr 22 16:03:56 EDT 2005


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

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


=== Products/CMFCore/tests/test_all.py 1.21 => 1.21.14.1 ===
--- Products/CMFCore/tests/test_all.py:1.21	Mon Jan  6 15:41:20 2003
+++ Products/CMFCore/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.CMFCore.tests',[
         'test_ContentTypeRegistry',
@@ -32,5 +32,9 @@
         'test_URLTool',
         ])
 
+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