twisted.scripts.trial.Options(_BasicOptions, usage.Options, app.ReactorSelectionMixin) class documentationtwisted.scripts.trial
View Source
(View In Hierarchy)
Options to the trial command line tool.
| Method | opt_jobs | Number of local workers to run, a strictly positive integer. |
| Method | postOptions | I am called after the options are parsed. |
| Instance Variable | _workerFlags | List of flags which are accepted by trial distributed workers. This is used
by _getWorkerArguments to build the command line arguments. (type: list) |
| Instance Variable | _workerParameters | List of parameter which are accepted by trial distrubuted workers. This is
used by _getWorkerArguments to build the command line
arguments. (type: list) |
| Method | _getWorkerArguments | Return a list of options to pass to distributed workers. |
Inherited from ReactorSelectionMixin:
| Method | opt_help_reactors | Display a list of possibly available reactor names. |
| Method | opt_reactor | Which reactor to use (see --help-reactors for a list of possibilities) |
Inherited from ReactorSelectionMixin:
| Method | opt_help_reactors | Display a list of possibly available reactor names. |
| Method | opt_reactor | Which reactor to use (see --help-reactors for a list of possibilities) |
Inherited from ReactorSelectionMixin:
| Method | opt_help_reactors | Display a list of possibly available reactor names. |
| Method | opt_reactor | Which reactor to use (see --help-reactors for a list of possibilities) |
_getWorkerArguments to build the command line arguments. (type: list)
_getWorkerArguments to build the command line
arguments. (type: list)
I am called after the options are parsed.
Override this method in your subclass to do something after the options have been parsed and assigned, like validate that all options are sane.