'KEXINIT packet with a group-exchange key exchange results
in a KEX_DH_GEX_REQUEST message.'

def test_KEXINIT_groupexchange(self):

    self.proto.supportedKeyExchanges = [self.kexAlgorithm]
    self.proto.dataReceived(self.transport.value())
    self.assertEqual(self.packets, [(transport.MSG_KEX_DH_GEX_REQUEST, '\x00\x00\x04\x00\x00\x00\x08\x00\x00\x00    \x00')])
