Home | Trees | Index | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | test.Test --+ | ExecTestBase --+ | ExecTest
Check a program's output and exit code.
An 'ExecTest' runs a program by using the 'exec' system call.
|
|||
Inherited from Inherited from Inherited from |
|
|||
Run(self,
context,
result)
Run the test. |
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
arguments | |||
_allow_arg_names_matching_class_vars | True if it is OK for fields to have the same name as class variables. | ||
_argument_dictionary | |||
_argument_list | |||
program | |||
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.
|
|
arguments
|
_allow_arg_names_matching_class_varsTrue if it is OK for fields to have the same name as class variables. If this variable is set to true, it is OK for the 'arguments' to contain a field whose name is the same as a class variable. That makes the 'default_value' handling for fields fail, and is generally confusing. This module no longer allows such classes, unless this variable is set to true. That permits legacy extension classes to continue working, while preventing new extension classes from making the same mistake.
|
_argument_dictionary
|
_argument_list
|
program
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:31 2007 | http://epydoc.sf.net |