[CMF-checkins] CVS: Products/CMFTopic/tests - test_all.py:1.5.26.1

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


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

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


=== Products/CMFTopic/tests/test_all.py 1.5 => 1.5.26.1 ===
--- Products/CMFTopic/tests/test_all.py:1.5	Fri Feb 15 14:45:34 2002
+++ Products/CMFTopic/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.CMFTopic.tests',[
         'test_Topic',
@@ -12,5 +12,9 @@
         'test_SSC',
         ])
 
+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