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. |
Set some config in the repo that Git requires to make commits. This isn't needed in real usage, just for tests.
| Parameters | path | The path to the Git repository. (type: FilePath) |
Run a git init, and set some config that git requires. This isn't needed in real usage.
| Parameters | path | The path to where the Git repo will be created. (type: FilePath) |
A convenience for generating _version.py data.
| Parameters | args | Arguments to pass to Version. |
| kwargs | Keyword arguments to pass to Version. |
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.
| Parameters | func | The function to decorate. |
| Returns | A decorated function which won't fail if the object inventory fetching fails. | |