Tests for twisted.python.release and twisted.python._release.

All of these tests are skipped on platforms other than Linux, as the release is only ever performed on Linux.

Class ExternalTempdirTestCase A test case which has mkdir make directories outside of the usual spot, so that Git commands don't interfere with the Twisted checkout.
Function genVersion A convenience for generating _version.py data.
Class StructureAssertingMixin A mixin for TestCase subclasses which provides some methods for asserting the structure and contents of directories and files on the filesystem.
Class ProjectTests There is a first-class representation of a project.
Class UtilityTests Tests for various utility functions for releasing.
Function doNotFailOnNetworkError A decorator which makes APIBuilder tests not fail because of intermittent network failures -- mamely, APIBuilder being unable to get the "object inventory" of other projects.
Class DoNotFailTests Tests for doNotFailOnNetworkError.
Class APIBuilderTests Tests for APIBuilder.
Class FilePathDeltaTests Tests for filePathDelta.
Class SphinxBuilderTests Tests for SphinxBuilder.
Class CommandsTestMixin Test mixin for the VCS commands used by the release scripts.
Class GitCommandTest Specific CommandsTestMixin related to Git repositories through GitCommand.
Class RepositoryCommandDetectionTest Test the getRepositoryCommand to access the right set of VCS commands depending on the repository manipulated.
Class VCSCommandInterfaceTests Test that the VCS command classes implement their interface.
Class CheckNewsfragmentScriptTests CheckNewsfragmentScript.
Function _gitConfig Set some config in the repo that Git requires to make commits. This isn't needed in real usage, just for tests.
Function _gitInit Run a git init, and set some config that git requires. This isn't needed in real usage.
def _gitConfig(path):

Set some config in the repo that Git requires to make commits. This isn't needed in real usage, just for tests.

ParameterspathThe path to the Git repository. (type: FilePath)
def _gitInit(path):

Run a git init, and set some config that git requires. This isn't needed in real usage.

ParameterspathThe path to where the Git repo will be created. (type: FilePath)
def genVersion(*args, **kwargs):

A convenience for generating _version.py data.

ParametersargsArguments to pass to Version.
kwargsKeyword arguments to pass to Version.
def doNotFailOnNetworkError(func):

A decorator which makes APIBuilder tests not fail because of intermittent network failures -- mamely, APIBuilder being unable to get the "object inventory" of other projects.

ParametersfuncThe function to decorate.
ReturnsA decorated function which won't fail if the object inventory fetching fails.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.