def test_logPrefix(self):
        """
        Test that SSHChannel.logPrefix gives the name of the channel, the
        local channel ID and the underlying connection.
        """
        self.assertEqual(self.channel.logPrefix(), 'SSHChannel channel '
                '(unknown) on MockConnection')

        Test that SSHChannel.logPrefix gives the name of the channel, the
        local channel ID and the underlying connection.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_channel.py