Undocumented
Function | geterrtext |
Run CLI with options and return the output triggered by system exit. |
Function | test |
Intersphinx object caching is enabled by default. |
Function | test |
Undocumented |
Function | test |
The --warnings-as-errors option is disabled by default. This is the test for the long form of the CLI option. |
Function | test |
pydoctor --help |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
When no project name is provided in the CLI arguments, a default name is used and logged. |
Function | test |
When a project name is provided in the CLI arguments nothing is logged. |
Function | test |
When `-W` is used it returns 3 as exit code when there are warnings. |
Function | test |
By default it will return 0 as exit code even when there are warnings. |
Function | test |
If a --project-base-dir is given, all package and module paths must be located inside that base directory. |
Function | test |
The project base directory and package/module directories are normalized in the same way, such that System.setSourceHref() can call Path.relative_to() on them. |
Function | test |
--make-intersphinx without --make-html will only produce the Sphinx inventory object. |
Function | test |
Undocumented |
Function | test |
When no --project-version is provided, it will default empty string. |
Function | test |
--project-version can be passed as a simple string. |
Function | test |
The --project-base-dir option, when given an absolute path, should set that path as the projectbasedirectory attribute on the options object. |
Function | test |
The --project-base-dir option, when given a relative path, should convert that path to absolute and set it as the projectbasedirectory attribute on the options object. |
Function | test |
The --project-base-dir option, when given a path containing a symbolic link, should resolve the path to the target directory. |
The --warnings-as-errors option is disabled by default. This is the test for the long form of the CLI option.
When no project name is provided in the CLI arguments, a default name is used and logged.
Parameters | |
capsys:CapSys | Undocumented |
When a project name is provided in the CLI arguments nothing is logged.
Parameters | |
capsys:CapSys | Undocumented |
If a --project-base-dir is given, all package and module paths must be located inside that base directory.
Parameters | |
capsys:CapSys | Undocumented |
The project base directory and package/module directories are normalized in the same way, such that System.setSourceHref() can call Path.relative_to() on them.
Parameters | |
tmpPath | Undocumented |
--make-intersphinx without --make-html will only produce the Sphinx inventory object.
This is also an integration test for the Sphinx inventory writer.
Parameters | |
tmpPath | Undocumented |
The --project-base-dir option, when given an absolute path, should set that path as the projectbasedirectory attribute on the options object.
Previous versions of this test tried using non-existing paths and compared the string representations, but that was unreliable, since the input path might contain a symlink that will be resolved, such as "/home" on macOS. Using Path.samefile()
is reliable, but requires an existing path.
Parameters | |
tmpPath | Undocumented |