Test ssh/channel.py.
| Class | MockConnection | A mock for twisted.conch.ssh.connection.SSHConnection. Record the data that channels send, and when they try to close the connection. | 
| Function | connectSSHTransport | Connect a SSHTransport which is already connected to a remote peer to the channel under test. | 
| Class | ChannelTests | Tests for SSHChannel. | 
Connect a SSHTransport which is already connected to a remote peer to the channel under test.
| Parameters | service | Service used over the connected transport. (type: SSHService) | 
| hostAddress | Local address of the connected transport. (type: interfaces.IAddress) | |
| peerAddress | Remote address of the connected transport. (type: interfaces.IAddress) |