'Test that the client raises a ConchError if it receives a
KEXINIT message but doesn\'t have a key exchange algorithm that we
understand.'

def test_KEXINIT_badKexAlg(self):

    self.proto.supportedKeyExchanges = ['diffie-hellman-group24-sha1']
    data = self.transport.value().replace('group14', 'group24')
    self.assertRaises(ConchError, self.proto.dataReceived, data)
