[CMF-checkins] CVS: CMF/CMFCore/tests - test_all.py:1.6
Tres Seaver
tseaver@zope.com
Wed, 14 Nov 2001 22:56:23 -0500
Update of /cvs-repository/CMF/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv19674/CMFCore/tests
Modified Files:
test_all.py
Log Message:
- Updated CMFCore.CatalogTool to allow new, optional 'idxs'
argument to 'catalog_object' (tracker #405).
- Restored dots to 2.4 version of the runner in 'all_cmf_tests.py'.
=== CMF/CMFCore/tests/test_all.py 1.5 => 1.6 ===
from Products.CMFCore.tests import test_PortalFolder
from Products.CMFCore.tests import test_TypesTool
+from Products.CMFCore.tests import test_CatalogTool
def test_suite():
suite = unittest.TestSuite()
suite.addTest( test_ContentTypeRegistry.test_suite() )
suite.addTest( test_PortalFolder.test_suite() )
suite.addTest( test_TypesTool.test_suite() )
+ suite.addTest( test_CatalogTool.test_suite() )
return suite
def run():
if hasattr( unittest, 'JUnitTextTestRunner' ):
unittest.JUnitTextTestRunner().run( test_suite() )
else:
- unittest.TextTestRunner( verbosity=0 ).run( test_suite() )
+ unittest.TextTestRunner( verbosity=1 ).run( test_suite() )
if __name__ == '__main__':
run()