Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | test.Test --+ | ExecTest
Check that a Python expression evaluates to true.
An 'ExecTest' test consists of Python source code together with an (optional) Python expression. First the Python code is executed. If it throws an (uncaught) exception the test fails. If the optional expression is present, it is then evaluated. If it evaluates to false, the test fails. Otherwise, the test passes.
|
|||
Inherited from Inherited from Inherited from |
|
|||
Run(self,
context,
result)
Run the test. |
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments | |||
_argument_dictionary | |||
_argument_list | |||
expression | |||
source | |||
Inherited from Inherited from Inherited from Inherited from |
|
Run the test. 'context' -- A 'Context' giving run-time parameters to the test. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations. This method should not return a value. Derived classes must override this method.
|
|
arguments
|
_argument_dictionary
|
_argument_list
|
expression
|
source
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:32 2007 | http://epydoc.sf.net |