'Group key exchanges are supported when we have the primes database.'

def test_buildProtocolWithPrimes(self):

    f2 = self.makeSSHFactory(primes={1: (2, 3)})
    p2 = f2.buildProtocol(None)
    self.assertIn('diffie-hellman-group-exchange-sha1', p2.supportedKeyExchanges)
    self.assertIn('diffie-hellman-group-exchange-sha256', p2.supportedKeyExchanges)
