PyDocs

Nav

Development Tools

FunctionTestCase

  • FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None)
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.
0 Examples
No examples for unittest/FunctionTestCase.
See Also
No see-alsos for unittest/FunctionTestCase
0 Notes
No notes for FunctionTestCase