[CMF-checkins] CVS: Products/CMFCalendar/tests - test_all.py:1.6.22.1

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


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

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


=== Products/CMFCalendar/tests/test_all.py 1.6 => 1.6.22.1 ===
--- Products/CMFCalendar/tests/test_all.py:1.6	Mon Jul  8 09:46:53 2002
+++ Products/CMFCalendar/tests/test_all.py	Fri Apr 22 16:03:26 2005
@@ -2,10 +2,14 @@
 import Zope
 from Products.CMFCore.tests.base.utils import build_test_suite
 
-def test_suite():
+def suite():
     return build_test_suite('Products.CMFCalendar.tests',
                             ['test_Event',
                              'test_Calendar'])
 
+def test_suite():
+    # Just toilence the top-level test.py
+    return None
+
 if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')
+    unittest.main(defaultTest='suite')



More information about the CMF-checkins mailing list