[CMF-checkins] CVS: CMF/CMFActionIcons/tests - test_all.py:1.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Mon Apr 26 04:55:25 EDT 2004
Update of /cvs-repository/CMF/CMFActionIcons/tests
In directory cvs.zope.org:/tmp/cvs-serv32349/CMFActionIcons/tests
Added Files:
test_all.py
Log Message:
- added optional 'suite_name' argument to build_test_suite()
- refactored all_cmf_tests and test_all to hide their test suites from other test runners
- added CMFActionIcons tests to all_cmf_tests
- removed pre Zope 2.6.4 compatibility code
- some whitespace, import and copyright cleanup
=== Added File CMF/CMFActionIcons/tests/test_all.py ===
##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################
""" CMFActionIcons tests.
$Id: test_all.py,v 1.1 2004/04/26 08:55:24 yuppie Exp $
"""
from unittest import main
import Testing
import Zope
Zope.startup()
from Products.CMFCore.tests.base.utils import build_test_suite
def suite():
return build_test_suite('Products.CMFActionIcons.tests',[
'test_ActionIconsTool',
])
def test_suite():
# Just to silence the top-level test.py
return None
if __name__ == '__main__':
main(defaultTest='suite')
More information about the CMF-checkins
mailing list