[CMF-checkins] CVS: CMF/CMFStaging/tests - test_all.py:1.3

Yvo Schubbe y.2004_ at wcm-solutions.de
Fri Sep 10 11:00:49 EDT 2004


Update of /cvs-repository/CMF/CMFStaging/tests
In directory cvs.zope.org:/tmp/cvs-serv17154/CMFStaging/tests

Modified Files:
	test_all.py 
Log Message:
- added CMFCollector, CMFStaging and CMFWorkspaces to all_cmf_tests.py


=== CMF/CMFStaging/tests/test_all.py 1.2 => 1.3 ===
--- CMF/CMFStaging/tests/test_all.py:1.2	Thu Aug 12 11:07:42 2004
+++ CMF/CMFStaging/tests/test_all.py	Fri Sep 10 11:00:18 2004
@@ -17,17 +17,24 @@
 """
 
 import unittest
+import Testing
+import Zope
+Zope.startup()
 
 from Products.CMFStaging.tests.testLockTool import test_suite as lock_tests
 from Products.CMFStaging.tests.testVersions import test_suite as version_tests
 from Products.CMFStaging.tests.testStaging import test_suite as staging_tests
 
-def test_suite():
+def suite():
     suite = unittest.TestSuite()
     suite.addTest(lock_tests())
     suite.addTest(version_tests())
     suite.addTest(staging_tests())
     return suite
-    
+
+def test_suite():
+    # Just to silence 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