| Trees | Indices | Help |
|
|---|
|
|
object --+
|
TestCase --+
|
FunctionTestCase
A test case that wraps a test function.
This is useful for slipping pre-existing test functions into the unittest 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.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
|
Hook method for setting up the test fixture before exercising it.
|
Hook method for deconstructing the test fixture after testing it.
|
|
|
|
hash(x)
|
str(x)
|
repr(x)
|
Returns a one-line description of the test, or None if no description has been provided. The default implementation of this method returns the first line of the specified test method's docstring.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:19 2011 | http://epydoc.sourceforge.net |