def test_CHANNEL_WINDOW_ADJUST(self):
        """
        Test that channel window adjust messages add bytes to the channel
        window.
        """
        channel = TestChannel()
        self._openChannel(channel)
        oldWindowSize = channel.remoteWindowLeft
        self.conn.ssh_CHANNEL_WINDOW_ADJUST(b'\x00\x00\x00\x00\x00\x00\x00'
                b'\x01')
        self.assertEqual(channel.remoteWindowLeft, oldWindowSize + 1)

        Test that channel window adjust messages add bytes to the channel
        window.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_connection.py