def test_receiveKEXINITReply(self):
        """
        Immediately after connecting, the transport expects a KEXINIT message
        and does not reply to it.
        """
        self.transport.clear()
        self.proto.dispatchMessage(
            transport.MSG_KEXINIT, self._A_KEXINIT_MESSAGE)
        self.assertEqual(self.packets, [])

        Immediately after connecting, the transport expects a KEXINIT message
        and does not reply to it.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_transport.py