Tests for the 'session' channel implementation in twisted.conch.ssh.session.
See also RFC 4254.
| Class | session | Undocumented |
| Class | SubsystemOnlyAvatar | A stub class representing an avatar that is only useful for getting a subsystem. |
| Class | StubAvatar | A stub class representing the avatar representing the authenticated user. It implements the ISession interface. |
| Class | StubSessionForStubAvatar | A stub ISession implementation for our StubAvatar. The instance variables generally keep track of method invocations so that we can test that the methods were called. |
| Class | EchoTransport | No summary |
| Class | MockProtocol | A sample Protocol which stores the data passed to it. |
| Class | StubConnection | A stub for twisted.conch.ssh.connection.SSHConnection. Record the data that channels send, and when they try to close the connection. |
| Class | StubTransport | A stub transport which records the data written. |
| Class | StubTransportWithWriteErr | A version of StubTransport which records the error data sent to it. |
| Class | StubClient | A stub class representing the client to a SSHSession. |
| Class | SessionInterfaceTests | Tests for the SSHSession class interface. This interface is not ideal, but it is tested in order to maintain backwards compatibility. |
| Class | SessionWithNoAvatarTests | No summary |
| Class | WrappersTests | A test for the wrapProtocol and wrapProcessProtocol functions. |
| Class | HelpersTests | Tests for the 4 helper functions: parseRequest_* and packRequest_*. |
| Class | SSHSessionProcessProtocolTests | Tests for SSHSessionProcessProtocol. |
| Class | SSHSessionClientTests | SSHSessionClient is an obsolete class used to connect standard IO to an SSHSession. |