module documentation
Unit tests for model.
Class |
|
No class docstring; 1/1 method documented |
Class |
|
A fake of pydoctor.model.Documentable that provides a system and sourceHref attribute. |
Class |
|
A fake options object as if it came from argparse. |
Function | dummy |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test_fetch |
Download and parse intersphinx inventories for each configured intersphix. |
Function | test_fetch |
Convert option to empty dict. |
Function | test |
Tests for the recognition of different version control providers that uses differents URL templates to point to line numbers. |
Function | test |
The links to source code web pages can be customized via an CLI argument. |
Function | test |
When initialized without options, will use default options and default verbosity. |
Function | test |
Can be initialized with options. |
Function | test |
Find docstrings from this test using introspection of an extension. |
Function | test |
Find docstrings from this test using introspection on pure Python. |
Function | test |
Test that the privacy of an object changes if the name of the object changes (with reparenting). |
Function | test |
Undocumented |
Function | test |
Model.resolveName knows about single inheritance. |
Function | test_set |
Test that the projectbasedirectory option sets the model.sourceHref properly. |
Variable | testpackages |
Undocumented |
@pytest.mark.skipif( 'platform.python_implementation() == \'PyPy\'')
def test_c_module_python_module_name_clash(capsys): (source) ¶
def test_c_module_python_module_name_clash(capsys): (source) ¶
Undocumented
Parameters | |
capsys:CapSys | Undocumented |
@pytest.mark.skipif( 'platform.python_implementation() == \'PyPy\'')
def test_c_module_text_signature(capsys): (source) ¶
def test_c_module_text_signature(capsys): (source) ¶
Undocumented
Parameters | |
capsys:CapSys | Undocumented |
Tests for the recognition of different version control providers that uses differents URL templates to point to line numbers.
Supported templates are:
Github : {}#L{lineno} Bitbucket: {}#lines-{lineno} SourceForge : {}#l{lineno}
@pytest.mark.parametrize( 'privacy', [ [ 'public:m._public**', 'public:m.tests', 'public:m.tests.helpers', 'private:m._public.private', 'hidden:m._public.hidden', 'hidden:m.tests.*'], reversed( [ 'private:**private', 'hidden:**hidden', 'public:**_public', 'hidden:m.tests.test**'])])
def test_privacy_switch(privacy): (source) ¶
def test_privacy_switch(privacy): (source) ¶
Undocumented
Parameters | |
privacy:object | Undocumented |
@pytest.mark.parametrize( 'projectBaseDir', [ PurePosixPath( '/foo/bar/ProjectName'), PureWindowsPath( 'C:\\foo\\bar\\ProjectName')])
def test_setSourceHrefOption(projectBaseDir): (source) ¶
def test_setSourceHrefOption(projectBaseDir): (source) ¶
Test that the projectbasedirectory option sets the model.sourceHref properly.
Parameters | |
projectPath | Undocumented |