/[gzz]/gzz/test/testutil.py
ViewVC logotype

Diff of /gzz/test/testutil.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by tjl, Tue Oct 1 10:14:47 2002 UTC revision 1.13 by benja, Tue Oct 8 22:55:18 2002 UTC
# Line 110  def docstring(obj): Line 110  def docstring(obj):
110    
111    
112    
113  def suite(files):  def suite(files, omit=[]):
114      """Create a test suite for all .tests in a given directory."""      """
115        Create a test suite for all .tests in a given directory.
116        
117        files -- list of files and directories
118        omit -- files/subdirectories to avoid (defaults to empty list)
119        """
120      return unittest.TestSuite([unittest.makeSuite(load(t))      return unittest.TestSuite([unittest.makeSuite(load(t))
121                                 for t in tests(files)])                                 for t in tests(files)])
122    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26