class documentation
class ServerAndClientSSHTransportBaseCase: (source)
Known subclasses: twisted.conch.test.test_transport.ClientSSHTransportBaseCase
, twisted.conch.test.test_transport.ServerSSHTransportBaseCase
Tests that need to be run on both the server and the client.
Method | check |
Helper function to check if the transport disconnected. |
Method | connect |
Helper function to connect a modified protocol to the test protocol and test for disconnection. |
Method | test_disconnect |
Like test_disconnectIfCantMatchKex, but for the encryption. |
Method | test_disconnect |
Like test_disconnectIfCantMatchKex, but for the compression. |
Method | test_disconnect |
Test that the transport disconnects if it can't match the key exchange |
Method | test_disconnect |
Like test_disconnectIfCantMatchKex, but for the key algorithm. |
Method | test_disconnect |
Like test_disconnectIfCantMatchKex, but for the MAC. |
Method | test_get |
Test that the transport's getHost method returns an SSHTransportAddress with the IAddress of the host. |
Method | test_get |
Test that the transport's getPeer method returns an SSHTransportAddress with the IAddress of the peer. |
Test that the transport's getHost
method returns an SSHTransportAddress
with the IAddress
of the host.
Test that the transport's getPeer
method returns an SSHTransportAddress
with the IAddress
of the peer.