Test cases for twisted.python._shellcomp
| Class | ZshScriptTestMeta | Metaclass of ZshScriptTestMixin. |
| Class | ZshScriptTestMixin | Integration test helper to show that usage.Options classes
can have zsh completion functions generated for them without raising
errors. |
| Function | test_genZshFunction | Generate completion functions for given twisted command - no errors should be raised |
| Class | ZshTests | Tests for zsh completion code |
| Class | EscapeTests | No class docstring; 1/1 methods documented |
| Class | CompleterNotImplementedTests | Test that using an unknown shell constant with SubcommandAction raises NotImplementedError |
| Class | FighterAceServerOptions | Options for FighterAce 'server' subcommand |
| Class | FighterAceOptions | Command-line options for an imaginary `Fighter Ace` game |
| Class | FighterAceExtendedOptions | Extend the options and zsh metadata provided by FighterAceOptions. _shellcomp must accumulate options and metadata from all classes in the hiearchy so this is important to test. |
| Class | SimpleProgOptions | Command-line options for a `Silly` imaginary program |
| Class | SimpleProgSub1 | Undocumented |
| Class | SimpleProgSub2 | Undocumented |
| Class | SimpleProgWithSubcommands | Undocumented |
| Function | _accuracyAction | Undocumented |
Generate completion functions for given twisted command - no errors should be raised
| Parameters | cmdName | The name of the command-line utility e.g. 'twistd' (type: str) |
| optionsFQPN | The Fully Qualified Python Name of the Options class to be
tested. (type: str) |