twisted.python.test.test_release.CommandsTestMixin(StructureAssertingMixin)
class documentationtwisted.python.test.test_release
(View In Hierarchy)
Known subclasses: twisted.python.test.test_release.GitCommandTest
Test mixin for the VCS commands used by the release scripts.
Method | setUp | Undocumented |
Method | test_ensureIsWorkingDirectoryWithWorkingDirectory | Calling the ensureIsWorkingDirectory VCS command's method
on a valid working directory doesn't produce any error. |
Method | test_ensureIsWorkingDirectoryWithNonWorkingDirectory | Calling the ensureIsWorkingDirectory VCS command's method
on an invalid working directory raises a NotWorkingDirectory
exception. |
Method | test_statusClean | Calling the isStatusClean VCS command's method on a
repository with no pending modifications returns True . |
Method | test_statusNotClean | Calling the isStatusClean VCS command's method on a
repository with no pending modifications returns False . |
Method | test_remove | Calling the remove VCS command's method remove the
specified path from the directory. |
Method | test_export | The exportTo VCS command's method export the content of the
repository as identical in a specified directory. |
Inherited from StructureAssertingMixin:
Method | createStructure | Create a set of directories and files given a dict defining their structure. |
Method | assertStructure | Assert that a directory is equivalent to one described by a dict. |
Calling the ensureIsWorkingDirectory
VCS command's method
on a valid working directory doesn't produce any error.
Calling the ensureIsWorkingDirectory
VCS command's method
on an invalid working directory raises a NotWorkingDirectory
exception.
Calling the isStatusClean
VCS command's method on a
repository with no pending modifications returns True
.
Calling the isStatusClean
VCS command's method on a
repository with no pending modifications returns False
.