Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | test.Test --+ | BaseExceptionTest --+ | StringExceptionTest
Check that the specified Python code raises a string exception.
A 'StringExceptionTest' checks that the specified code throws an exception. The exception must be a string and must have the expected value.
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments = [qm.fields.TextField(name= "exception_text", title A list of the arguments to the extension class. |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Check the exception in 'exc_info' and construct the result. 'result' -- The result object for this test.
|
|
argumentsA list of the arguments to the extension class. Each element of this list should be an instance of 'Field'. The 'Field' instance describes the argument. Derived classes may redefine this class variable. However, derived classes should not explicitly include the arguments from base classes; QMTest will automatically combine all the arguments found throughout the class hierarchy.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |