[CMF-checkins] CVS: CMF - __init__.py:1.1 test_all.py:1.1

tseaver@digicool.com tseaver@digicool.com
Sat, 2 Jun 2001 00:19:53 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCalendar/tests
In directory korak.digicool.com:/tmp/cvs-serv28882/CMFCalendar/tests

Added Files:
	__init__.py test_all.py 
Log Message:


 - Clean up the 'test_all' architecture:
 
   o use JUnitTextTestRunner;

   o implement 'test_suite' protocol, to permit federation by a
     smarter test builder.



--- Added File __init__.py in package CMF ---
"""\
Unit test package for CMFCalendar.

As test suites are added, they should be added to the
mega-test-suite in Products.CMFCalendar.tests.test_all.py
"""

--- Added File test_all.py in package CMF ---
import unittest
from Products.CMFCalendar.tests import test_Event

def test_suite():
    suite = unittest.TestSuite()
    suite.addTest( test_Event.test_suite() )
    return suite

def run():
    unittest.JUnitTextTestRunner().run(test_suite())

if __name__ == '__main__':
    run()