module documentation
This module contains helpers/fixtures to assist in testing Fabric-driven code. It is not intended for production use, and pulls in some test-oriented dependencies as needed. You can install an 'extra' variant of Fabric to get these dependencies if you aren't already using them for your own testing purposes: ``pip install fabric[testing]``. .. note:: If you're using pytest for your test suite, you may be interested in grabbing ``fabric[pytest]`` instead, which encompasses the dependencies of both this module and the `fabric.testing.fixtures` module, which contains pytest fixtures. .. versionadded:: 2.1
Class |
|
Data record specifying params of a command execution to mock/expect. |
Class |
|
Mock subclass that tracks state for its ``recv(_stderr)?`` methods. |
Class |
|
Class representing mocked remote state. |
Class |
|
Class managing mocked SFTP remote state. |
Class |
|
A mock remote session of a single connection and 1 or more command execs. |
Class |
|
A pseudo-command that expects an interactive shell to be executed. |