def test_getPrimes(self):
        """
        L{OpenSSHFactory.getPrimes} should return the available primes
        in the moduli directory.
        """
        primes = self.factory.getPrimes()
        self.assertEqual(primes, {
            2048: [getDHGeneratorAndPrime(b"diffie-hellman-group14-sha1")],
        })

        L{OpenSSHFactory.getPrimes} should return the available primes
        in the moduli directory.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_openssh_compat.py