Table of Contents

Class: FunctionTestCase Twisted-0.17.4/pyunit/unittest.py

A test case that wraps a test function.

This is useful for slipping pre-existing test functions into the PyUnit framework. Optionally, set-up and tidy-up functions can be supplied. As with TestCase, the tidy-up (tearDown) function will always be called if the set-up (setUp) function ran successfully.

Base Classes   
TestCase
Methods   
__init__
__repr__
__str__
id
runTest
setUp
shortDescription
tearDown
  __init__ 
__init__ (
        self,
        testFunc,
        setUp=None,
        tearDown=None,
        description=None,
        )

  __repr__ 
__repr__ ( self )

  __str__ 
__str__ ( self )

  id 
id ( self )

  runTest 
runTest ( self )

  setUp 
setUp ( self )

  shortDescription 
shortDescription ( self )

  tearDown 
tearDown ( self )


Table of Contents

This document was automatically generated on Sat Apr 20 01:30:45 2002 by HappyDoc version 2.0