#NEWLINE# def test_getPeer( self ) : #NEWLINE# #INDENT# "\n        L{SSHChannel.getPeer} returns the same object as the underlying\n        transport's C{getPeer} method returns.\n        " #NEWLINE# peer = IPv4Address ( 'TCP' , '192.168.0.1' , 54321 ) #NEWLINE# connectSSHTransport ( service = self . channel . conn , peerAddress = peer ) #NEWLINE# self . assertEqual ( SSHTransportAddress ( peer ) , self . channel . getPeer ( ) )