class documentation
class Options(_BasicOptions, usage.Options, app.ReactorSelectionMixin): (source)
Options to the trial command line tool.
| Method | opt |
Number of local workers to run, a strictly positive integer. |
| Method | post |
I am called after the options are parsed. |
| Class Variable | comp |
Undocumented |
| Class Variable | opt |
Undocumented |
| Class Variable | opt |
Undocumented |
| Method | _get |
Return a list of options to pass to distributed workers. |
| Instance Variable | _worker |
List of flags which are accepted by trial distributed workers. This is used by _getWorkerArguments to build the command line arguments. |
| Instance Variable | _worker |
List of parameter which are accepted by trial distributed workers. This is used by _getWorkerArguments to build the command line arguments. |
Inherited from _BasicOptions:
| Method | __init__ |
Undocumented |
| Method | coverdir |
Return a FilePath representing the directory into which coverage results should be written. |
| Method | get |
Undocumented |
| Method | opt |
Generate coverage information in the coverage file in the directory specified by the temp-directory option. |
| Method | opt |
Disable the garbage collector |
| Method | opt |
Undocumented |
| Method | opt |
Undocumented |
| Method | opt |
Undocumented |
| Method | opt |
see sys.setrecursionlimit() |
| Method | opt |
Print an insanely verbose log of everything that happens. Useful when debugging freezes or locks in complex code. |
| Method | opt |
Specify the format to display tracebacks with. Valid formats are 'plain', 'emacs', and 'cgitb' which uses the nicely verbose stdlib cgitb.text function |
| Method | opt |
Filename to grep for test cases (-*- test-case-name). |
| Method | opt |
Fake the lack of the specified modules, separated with commas. |
| Method | parse |
Undocumented |
| Class Variable | longdesc |
Undocumented |
| Instance Variable | tracer |
Undocumented |
| Method | _load |
Undocumented |
Inherited from Options (via _BasicOptions):
| Method | __str__ |
Undocumented |
| Method | get |
Undocumented |
| Method | opt |
Display this help and exit. |
| Method | opt |
Display Twisted version and exit. |
| Method | parse |
The guts of the command-line parser. |
| Class Variable | completion |
Undocumented |
| Class Variable | default |
Undocumented |
| Class Variable | parent |
Undocumented |
| Instance Variable | defaults |
Undocumented |
| Instance Variable | docs |
Undocumented |
| Instance Variable | long |
Undocumented |
| Instance Variable | opts |
Undocumented |
| Instance Variable | short |
Undocumented |
| Instance Variable | sub |
Undocumented |
| Instance Variable | sub |
Undocumented |
| Instance Variable | synonyms |
Undocumented |
| Method | _gather |
Gather up boolean (flag) options. |
| Method | _gather |
Gather up options with their own handler methods. |
| Method | _gather |
Gather options which take a value. |
| Method | _generic |
Undocumented |
| Instance Variable | _dispatch |
Undocumented |
Inherited from ReactorSelectionMixin (via _BasicOptions, Options):
| Method | opt |
Display a list of possibly available reactor names. |
| Method | opt |
Which reactor to use (see --help-reactors for a list of possibilities) |
| Class Variable | _get |
Undocumented |
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.