[CMF-checkins] CVS: CMF/CMFCollector/tests - test_all.py:1.3
Jens Vagelpohl
jens at dataflake.org
Wed Sep 8 12:28:13 EDT 2004
Update of /cvs-repository/CMF/CMFCollector/tests
In directory cvs.zope.org:/tmp/cvs-serv22725/tests
Modified Files:
test_all.py
Log Message:
Cleanup:
Bug fixes
- Created a working test_all.py script so that the unit tests
actually run when invoking test_all
- Move to more canonical product structure by renaming
RELEASE_NOTES.txt to CHANGES.txt
Miscellaneous
- Removed super-stale TODO.txt
- Removed the collector_plone skins directory. It wasn't hooked
up to anything, just checked in, and since there are a lot
of Plone-specific collectors it is doubtful collector_plone
would ever see maintenance.
=== CMF/CMFCollector/tests/test_all.py 1.2 => 1.3 ===
--- CMF/CMFCollector/tests/test_all.py:1.2 Fri Feb 15 14:45:33 2002
+++ CMF/CMFCollector/tests/test_all.py Wed Sep 8 12:28:12 2004
@@ -1,10 +1,39 @@
-"""Currently all stub, no substance."""
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors. All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+""" CMFSetup tests.
+
+$Id$
+"""
+
+from unittest import main
+import Testing
import Zope
-from unittest import TestSuite,main
+Zope.startup()
+
from Products.CMFCore.tests.base.utils import build_test_suite
+
+def suite():
+ return build_test_suite( 'Products.CMFCollector.tests'
+ , [ 'test_CollectorSubset'
+ ,
+ ]
+ )
+
def test_suite():
- return TestSuite()
+ # Just to silence 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