class documentation
class CommandsTestMixin(StructureAssertingMixin): (source)
Known subclasses: twisted.python.test.test_release.GitCommandTest
Test mixin for the VCS commands used by the release scripts.
Method | set |
Undocumented |
Method | test_ensure |
Calling the ensureIsWorkingDirectory VCS command's method on an invalid working directory raises a NotWorkingDirectory exception. |
Method | test_ensure |
Calling the ensureIsWorkingDirectory VCS command's method on a valid working directory doesn't produce any error. |
Method | test |
The exportTo VCS command's method export the content of the repository as identical in a specified directory. |
Method | test |
Calling the remove VCS command's method remove the specified path from the directory. |
Method | test_status |
Calling the isStatusClean VCS command's method on a repository with no pending modifications returns True. |
Method | test_status |
Calling the isStatusClean VCS command's method on a repository with no pending modifications returns False. |
Instance Variable | tmp |
Undocumented |
Inherited from StructureAssertingMixin
:
Method | assert |
Assert that a directory is equivalent to one described by a dict. |
Method | create |
No summary |
Calling the ensureIsWorkingDirectory VCS command's method on an invalid working directory raises a NotWorkingDirectory
exception.
Calling the ensureIsWorkingDirectory VCS command's method on a valid working directory doesn't produce any error.
The exportTo VCS command's method export the content of the repository as identical in a specified directory.
Calling the isStatusClean VCS command's method on a repository with no pending modifications returns True.