[Subversion] / PEAK / src / peak / util / tests / __init__.py  

Diff of /PEAK/src/peak/util/tests/__init__.py

Parent Directory | Revision Log

version 332, Sat Feb 16 01:32:06 2002 UTC version 429, Wed Jun 19 01:07:11 2002 UTC
Line 1 
Line 1 
 """  """
 TransWarp utility modules test suite package.  Use with unittest.py to run all  PEAK utility modules test suite package.  Use with unittest.py to run all
 tests, or use the 'test_suite()' function in an individual module to get just  tests, or use the 'test_suite()' function in an individual module to get just
 those tests.  those tests.
 """  """
   
 allSuites = [  allSuites = [
     'TW.Utils.tests.SOX:test_suite',      'SOX:test_suite',
 ]  ]
   
 def test_suite():  def test_suite():
   
     from unittest import TestSuite      from unittest import TestSuite
     from TW.Utils.Import import importString      from peak.binding.imports import importSequence
   
     return TestSuite(      return TestSuite(
         [importString(t)() for t in allSuites]          [t() for t in importSequence(allSuites, globals())]
     )      )
   


Generate output suitable for use with a patch program
Legend:
Removed from v.332  
changed lines
  Added in v.429

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help