def test_CHANNEL_EOF(self):
        """
        Test that channel eof messages are passed up to the channel.
        """
        channel = TestChannel()
        self._openChannel(channel)
        self.conn.ssh_CHANNEL_EOF(b'\x00\x00\x00\x00')
        self.assertTrue(channel.gotEOF)

        Test that channel eof messages are passed up to the channel.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_connection.py